]> gitweb.factorcode.org Git - factor.git/commitdiff
ui.backend.cocoa.views: use world get-global in touchbar-commands.
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 19 Jan 2018 23:39:52 +0000 (15:39 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 19 Jan 2018 23:39:52 +0000 (15:39 -0800)
basis/ui/backend/cocoa/views/views.factor

index 10ffc091c5ea043781ddde558617bbe3ce39394d..b3a2f2f952896a6efc7d67983e6c9cf2a0fbb626 100644 (file)
@@ -162,7 +162,7 @@ CONSTANT: selector>action H{
     [ swap world-focus parents-handle-gesture? t ] [ drop f f ] if* ;
 
 : touchbar-commands ( -- commands/f gadget )
-    world get [
+    world get-global [
         children>> [
             class-of "commands" word-prop
             "touchbar" of dup [ commands>> ] when