1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00

fixed a bug where editing half-plane scale edited model_orientation

This commit is contained in:
Zeno Rogue 2019-03-20 02:12:55 +01:00
parent 3f941cabb0
commit febb0824a5

View File

@ -748,7 +748,7 @@ namespace conformal {
if(pmodel == mdHalfplane) {
dialog::addSelItem(XLAT("half-plane scale"), fts(halfplane_scale), 'b');
dialog::add_action([] () {
dialog::editNumber(model_orientation, 0, 2, 0.25, 1, XLAT("half-plane scale"), "");
dialog::editNumber(halfplane_scale, 0, 2, 0.25, 1, XLAT("half-plane scale"), "");
});
}