change default home view for belt

This commit is contained in:
Stewart Allen 2021-11-26 21:32:19 -05:00
commit 987876a61f
2 changed files with 6 additions and 3 deletions

View file

@ -872,7 +872,8 @@
API.conf.save();
API.const.SPACE.view.setHome(dev.bedBelt ? Math.PI/2 : 0);
// API.const.SPACE.view.setHome(dev.bedBelt ? Math.PI/2 : 0, Math.PI / 2.5);
API.const.SPACE.view.setHome(0, Math.PI / 2.5);
// when changing devices, update focus on widgets
if (chgdev) {
setTimeout(API.space.set_focus, 0);