Skip to content

Commit 14220d6

Browse files
committed
hot fix: incorrect position of the absolute buttons at the first start
1 parent 89be41b commit 14220d6

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/lushprojects/circuitjs1/client

1 file changed

+1
-1
lines changed

src/main/java/com/lushprojects/circuitjs1/client/CirSim.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ static int getAbsBtnsTopPos() {
464464
Storage lstor = Storage.getLocalStorageIfSupported();
465465
int top = 50;
466466
if (lstor.getItem("MOD_TopMenuBar")=="small") top -= 11;
467-
if (lstor.getItem("toolbar")=="true") top += TOOLBARHEIGHT;
467+
if (lstor.getItem("toolbar")!="false") top += TOOLBARHEIGHT;
468468
return top;
469469
}
470470

0 commit comments

Comments
 (0)