Browse Source

Explicitly set alpha blend mode for toolbar icons. See #799.

Lasse Öörni 10 years ago
parent
commit
61a7d65393
1 changed files with 1 additions and 0 deletions
  1. 1 0
      bin/Data/Scripts/Editor/EditorToolBar.as

+ 1 - 0
bin/Data/Scripts/Editor/EditorToolBar.as

@@ -123,6 +123,7 @@ void CreateToolBarIcon(UIElement@ element)
     icon.defaultStyle = iconStyle;
     icon.defaultStyle = iconStyle;
     icon.style = element.name;
     icon.style = element.name;
     icon.SetFixedSize(30, 30);
     icon.SetFixedSize(30, 30);
+    icon.blendMode = BLEND_ALPHA;
     element.AddChild(icon);
     element.AddChild(icon);
 }
 }