Skip to content

Commit

Permalink
Updated code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Guy Chronister committed Dec 2, 2024
1 parent b61d522 commit f26e97f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions neothesia-core/src/render/guidelines.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use std::{sync::Arc, time::Duration};

use crate::{
render::{QuadInstance, QuadPipeline, TextInstance, TextPipeline},
render::{QuadInstance, QuadPipeline},
render::text::{Instance as TextInstance, Pipeline as TextPipeline},
utils::Point,
};

Expand Down Expand Up @@ -110,7 +111,7 @@ impl GuidelineRenderer {

self.text_cache.push(TextInstance {
position: [x + 2.0, y + 2.0],
text: Self::get_note_name(key.index()).to_string(),
text: Self::get_note_name(key.note_id()).to_string(),
color: [1.0, 1.0, 1.0, 1.0],
scale: 0.8,
});
Expand Down

0 comments on commit f26e97f

Please sign in to comment.