Add keyboard shortcuts.
This commit is contained in:
parent
9eb6d2a0a6
commit
82e1ab7523
5 changed files with 26 additions and 14 deletions
|
@ -59,9 +59,11 @@ function init(plugin)
|
|||
title="Toggle Merge Group",
|
||||
group="abase_layer_settings",
|
||||
onclick=function()
|
||||
cmd.ToggleExportAsSprite()
|
||||
if app.layer.isGroup then
|
||||
cmd.ToggleExportAsSprite()
|
||||
end
|
||||
end,
|
||||
onnenabled=function()
|
||||
onenabled=function()
|
||||
return app.layer.isGroup
|
||||
end
|
||||
}
|
||||
|
@ -71,9 +73,11 @@ function init(plugin)
|
|||
title="Toggle Merge Group",
|
||||
group="abase_layer_settings_popup",
|
||||
onclick=function()
|
||||
cmd.ToggleExportAsSprite()
|
||||
if app.layer.isGroup then
|
||||
cmd.ToggleExportAsSprite()
|
||||
end
|
||||
end,
|
||||
onnenabled=function()
|
||||
onenabled=function()
|
||||
return app.layer.isGroup
|
||||
end
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue