]> gitweb.factorcode.org Git - factor.git/commitdiff
Revert "ui.gadgets.labeled: flat colour on windows because of the gradient bug"
authornicolas-p <z.nicolas@gmail.com>
Sun, 16 Aug 2015 09:14:24 +0000 (11:14 +0200)
committerAlexander Iljin <ajsoft@yandex.ru>
Sat, 8 Jun 2019 16:47:41 +0000 (18:47 +0200)
This reverts commit b81a5f9c7a13f11119dfbf53a5574201b35510be.

basis/ui/gadgets/labeled/labeled.factor

index d5412bd3dafa159453ca0336c2004f73bf844219..15eee9d44e6091b946325f36182d50070c0c1666 100644 (file)
@@ -14,10 +14,7 @@ M: labeled-gadget focusable-child* content>> ;
 : <title-bar> ( title -- title-bar )
     >label [ t >>bold? ] change-font
     { 0 4 } <border>
-    os windows?
-    [ toolbar-background <solid> ]
-    [ title-bar-gradient <gradient> ]
-    if >>interior ;
+    title-bar-gradient <gradient> >>interior ;
 
 PRIVATE>