]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix Cocoa UI bug
authorSlava Pestov <slava@goo.local>
Wed, 23 Apr 2008 06:31:32 +0000 (01:31 -0500)
committerSlava Pestov <slava@goo.local>
Wed, 23 Apr 2008 06:31:32 +0000 (01:31 -0500)
extra/ui/cocoa/views/views.factor

index 5b975f40de7076ac783cc32b63671f90a65af9b7..442eda90efc1f4c58d80f8a2d4df7c347adac8c0 100755 (executable)
@@ -126,6 +126,13 @@ CLASS: {
     { +name+ "FactorView" }
     { +protocols+ { "NSTextInput" } }
 }
+
+! Rendering
+! Rendering
+{ "drawRect:" "void" { "id" "SEL" "id" "NSRect" }
+    [ 3drop window relayout-1 ]
+}
+
 ! Events
 { "acceptsFirstMouse:" "bool" { "id" "SEL" "id" }
     [ 3drop 1 ]