part 2
This commit is contained in:
parent
0c7211846f
commit
eb85ab002c
2 changed files with 7 additions and 12 deletions
|
|
@ -234,8 +234,8 @@ CAM.init = function(kiri, api) {
|
|||
updateAxisMode();
|
||||
});
|
||||
|
||||
api.event.on("cam.stock.toggle", () => {
|
||||
camStock.visible = !camStock.visible;
|
||||
api.event.on("cam.stock.toggle", (bool) => {
|
||||
camStock && (camStock.visible = bool ?? !camStock.visible);
|
||||
});
|
||||
|
||||
api.event.on("boolean.click", api.platform.update_bounds);
|
||||
|
|
|
|||
Loading…
Reference in a new issue