Skip to content
Permalink
Browse files

After discussion, it seems that transparent_white() has undefined beh…

…avior.
  • Loading branch information
Adenilson committed Apr 22, 2015
1 parent 95bcc57 commit cf2406de47c9a65de484e9a5e6841f8f661cafdb
Showing with 1 addition and 6 deletions.
  1. +0 −5 components/gfx/color.rs
  2. +1 −1 components/layout/display_list_builder.rs
@@ -39,8 +39,3 @@ pub fn transparent_black() -> AzColor {
pub fn white() -> AzColor {
AzColor { r: 1.0, g: 1.0, b: 1.0, a: 1.0 }
}

#[inline]
pub fn transparent_white() -> AzColor {
AzColor { r: 1.0, g: 1.0, b: 1.0, a: 0.0 }
}
@@ -1318,7 +1318,7 @@ impl BlockFlowDisplayListBuilding for BlockFlow {
ScrollPolicy::Scrollable
};

let transparent = color::transparent_white();
let transparent = color::transparent_black();
let stacking_context =
self.create_stacking_context(display_list,
Some(Arc::new(PaintLayer::new(self.layer_id(0),

0 comments on commit cf2406d

Please sign in to comment.
You can’t perform that action at this time.