mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 13:13:49 +01:00
Add Zoom -> Reset Zoom command
This commit is contained in:
parent
9ddb1c4379
commit
0f43b02685
@ -312,6 +312,16 @@ function getMenu(window) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: "Reset Zoom",
|
||||||
|
enabled: utils.getZoomFactor() !== 1,
|
||||||
|
accelerator: "CommandOrControl+num0",
|
||||||
|
click: () => {
|
||||||
|
utils.setZoomFactor(window, 1);
|
||||||
|
refreshMenu(window);
|
||||||
|
log.log("Reset zoom");
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user