Skip to content

Commit dedf3c8

Browse files
committed
Clean up unused variable
1 parent 275fc3a commit dedf3c8

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Source/Objects/NoteObject.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ class NoteObject final : public ObjectBase, public AsyncUpdater {
1212
BorderSize<int> border { 1, 7, 1, 2 };
1313

1414
String currentNoteText;
15-
Font lastFont;
1615
TextEditor noteEditor;
1716

1817
Value primaryColour = SynchronousValue();
@@ -147,8 +146,6 @@ class NoteObject final : public ObjectBase, public AsyncUpdater {
147146

148147
void update() override
149148
{
150-
lastFont = getFont();
151-
152149
if (auto note = ptr.get<t_fake_note>()) {
153150
textColour = Colour(note->x_red, note->x_green, note->x_blue);
154151

0 commit comments

Comments
 (0)