mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-12 19:32:37 +01:00
bind actions to buttons
This commit is contained in:
parent
18b686566c
commit
a88e687da0
1 changed files with 1 additions and 1 deletions
|
|
@ -215,7 +215,7 @@
|
|||
for (var p = 0; p < app._actionsOrder.length; ++p) {
|
||||
var act = app.actions[app._actionsOrder[p]];
|
||||
addAction(act.desc, act.action);
|
||||
$('.act-' + act.id).click(act.action);
|
||||
$('.act-' + act.id).click(act.action).attr('title', act.desc);
|
||||
}
|
||||
|
||||
var pm = app.viewer.parametricManager;
|
||||
|
|
|
|||
Loading…
Reference in a new issue