ui.backend.cocoa.views: use world get-global in touchbar-commands.
parent
4a50385af1
commit
dcb06f3cbd
|
@ -162,7 +162,7 @@ CONSTANT: selector>action H{
|
||||||
[ swap world-focus parents-handle-gesture? t ] [ drop f f ] if* ;
|
[ swap world-focus parents-handle-gesture? t ] [ drop f f ] if* ;
|
||||||
|
|
||||||
: touchbar-commands ( -- commands/f gadget )
|
: touchbar-commands ( -- commands/f gadget )
|
||||||
world get [
|
world get-global [
|
||||||
children>> [
|
children>> [
|
||||||
class-of "commands" word-prop
|
class-of "commands" word-prop
|
||||||
"touchbar" of dup [ commands>> ] when
|
"touchbar" of dup [ commands>> ] when
|
||||||
|
|
Loading…
Reference in New Issue