Skip to content

Commit 7c186e1

Browse files
committed
Refined Interface
1 parent 8ce7922 commit 7c186e1

File tree

5 files changed

+45
-34
lines changed

5 files changed

+45
-34
lines changed

Plateau/Plateau.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ Plateau::Plateau(const InstanceInfo& info)
7070

7171
pGraphics->AttachControl(new LEDButton(IRECT::MakeXYWH(238-12.474f, 470-65.198f, 102, 102), LEDScale, LedSVGs, [this](IControl* clearControl) {SetParameterValue(kClear, 1);}));
7272

73-
IControl* cButton = new LEDSwitch(IRECT::MakeXYWH(106.5, 105, 102, 102), LEDScale, LedSVGs);
73+
IControl* cButton = new LEDSwitch(IRECT::MakeXYWH(106.5, 112, 102, 102), LEDScale, LedSVGs);
7474

7575
cButton->SetValue(1);
7676

7777
pGraphics->AttachControl(cButton);
78-
pGraphics->AttachControl(new LEDSwitch(IRECT::MakeXYWH(106.5-50, 75, 102, 102), LEDScale, LedSVGs));
79-
pGraphics->AttachControl(new LEDSwitch(IRECT::MakeXYWH(106.5+50, 75, 102, 102), LEDScale, LedSVGs));
78+
pGraphics->AttachControl(new LEDSwitch(IRECT::MakeXYWH(106.5-20, 40, 102, 102), LEDScale, LedSVGs));
79+
pGraphics->AttachControl(new LEDSwitch(IRECT::MakeXYWH(106.5+20, 40, 102, 102), LEDScale, LedSVGs));
8080
};
8181
#endif
8282
}

0 commit comments

Comments
 (0)