fix some white spaces

This commit is contained in:
aferust 2020-01-13 11:10:24 +03:00
parent 65c0f2a678
commit 49555d43d6
1 changed files with 6 additions and 6 deletions

View File

@ -2615,18 +2615,18 @@ class SpinCtrl : HorizontalLayout {
addChild(butContainer); addChild(butContainer);
butUp.click = delegate(Widget w) { butUp.click = delegate(Widget w) {
immutable val = linEdit.text.to!int; immutable val = linEdit.text.to!int;
if(val < max ) if(val < max )
linEdit.text = (val + 1).to!string._ui; linEdit.text = (val + 1).to!string._ui;
return true; return true;
}; };
butDown.click = delegate(Widget w) { butDown.click = delegate(Widget w) {
immutable val = linEdit.text.to!int; immutable val = linEdit.text.to!int;
if(val > min ) if(val > min )
linEdit.text = (val - 1).to!string._ui; linEdit.text = (val - 1).to!string._ui;
return true; return true;
}; };
} }
} }