Skip to content

Commit 2054fb4

Browse files
committed
fix minor bugs
1 parent 53d2d45 commit 2054fb4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Plateau/Plateau.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ Plateau::Plateau(const InstanceInfo& info)
4242
pGraphics->AttachCornerResizer(EUIResizerMode::Scale, false);
4343
pGraphics->AttachSVGBackground(BACKGROUND_FN);
4444
pGraphics->LoadFont("Roboto-Regular", ROBOTO_FN);
45-
const IRECT b = pGraphics->GetBounds();
4645
const ISVG RoganSVG = pGraphics->LoadSVG(ROGAN_FN);
4746
const ISVG RoganBGSVG = pGraphics->LoadSVG(ROGANBG_FN);
4847
const ISVG RoganFGSVG = pGraphics->LoadSVG(ROGANFG_FN);

Plateau/controls/IBButtonHold.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ class IBButtonHoldControl : public IButtonControlBase
88
{
99
public:
1010

11-
IBButtonHoldControl::IBButtonHoldControl(float x, float y, const IBitmap& bitmap, IActionFunction aF)
11+
IBButtonHoldControl(float x, float y, const IBitmap& bitmap, IActionFunction aF)
1212
: IButtonControlBase(IRECT(x, y, bitmap), aF)
1313
, IBitmapBase(bitmap)
1414
{
1515
AttachIControl(this);
1616
}
1717

18-
IBButtonHoldControl::IBButtonHoldControl(const IRECT& bounds, const IBitmap& bitmap, IActionFunction aF)
18+
IBButtonHoldControl(const IRECT& bounds, const IBitmap& bitmap, IActionFunction aF)
1919
: IButtonControlBase(bounds.GetCentredInside(bitmap), aF)
2020
, IBitmapBase(bitmap)
2121
{

0 commit comments

Comments
 (0)