mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-10 12:34:06 +01:00
- [Preview Panel] Tools hotkey can not include modifier. - [Preview Panel] Add hotkey for right-side tools.
This commit is contained in:
parent
d10aa6818e
commit
cc296a4cd2
@ -14,10 +14,10 @@
|
||||
"Freeform": new hotkeySimple("Q"),
|
||||
"Fill": new hotkeySimple("G"),
|
||||
|
||||
"Outline": new hotkeySimple("O", MOD_KEY.shift),
|
||||
"Extrude": new hotkeySimple("E", MOD_KEY.shift),
|
||||
"Inset": new hotkeySimple("I", MOD_KEY.shift),
|
||||
"Skew": new hotkeySimple("S", MOD_KEY.shift),
|
||||
"Outline": new hotkeySimple("O", MOD_KEY.alt),
|
||||
"Extrude": new hotkeySimple("E", MOD_KEY.alt),
|
||||
"Inset": new hotkeySimple("I", MOD_KEY.alt),
|
||||
"Skew": new hotkeySimple("S", MOD_KEY.alt),
|
||||
},
|
||||
|
||||
"Node_Mesh_Warp": {
|
||||
|
@ -98,6 +98,9 @@ function NodeTool(name, spr, contextString = instanceof(other)) constructor {
|
||||
|
||||
if(PANEL_PREVIEW.tool_current == self)
|
||||
onToggle();
|
||||
|
||||
var _obj = getToolObject();
|
||||
if(_obj) _obj.init(context);
|
||||
}
|
||||
|
||||
static onToggle = function() {}
|
||||
|
Loading…
Reference in New Issue
Block a user