add setFocus() and multi-use 'v' key to refocus on center of all widgets
This commit is contained in:
parent
be8e2054d4
commit
cbc9fb8da3
4 changed files with 48 additions and 8 deletions
|
|
@ -414,6 +414,9 @@
|
|||
API.show.local();
|
||||
break;
|
||||
case cca('v'): // toggle single slice view mode
|
||||
if (API.view.get() === VIEWS.ARRANGE) {
|
||||
API.space.set_focus();
|
||||
}
|
||||
if (API.var.layer_hi == API.var.layer_lo) {
|
||||
API.var.layer_lo = 0;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue