Skip to content

Commit

Permalink
Use setGeometryConstraints from UI
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed May 22, 2022
1 parent f94878d commit 3d1e043
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/AbstractUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ DragonflyReverbAbstractUI::DragonflyReverbAbstractUI(
const char* knobData, uint knobWidth, uint knobHeight,
const char* questionData, uint questionWidth, uint questionHeight)
: UI (width, height) {
getWindow().setGeometryConstraints(width, height, true, true, true);
setGeometryConstraints(width, height, true, true, true);
NanoVG::FontId font = nanoText.createFontFromMemory(
"bitstream vera sans",
font_bitstream_vera::bitstream_vera_sans_ttf,
Expand Down Expand Up @@ -59,4 +59,4 @@ bool DragonflyReverbAbstractUI::onMouse(const MouseEvent& ev) {
}

return UI::onMouse(ev);
}
}

0 comments on commit 3d1e043

Please sign in to comment.