mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-21 22:58:42 -06:00
for rgb stuff, always return true instead of delegating
This commit is contained in:
parent
b30fe304d1
commit
f8ee8d0e70
|
@ -87,7 +87,7 @@ impl Frame for Corners<Vec3> {
|
||||||
FillColor::from(*self).draw(draw, rect)
|
FillColor::from(*self).draw(draw, rect)
|
||||||
}
|
}
|
||||||
fn covers_opaque(&self) -> bool {
|
fn covers_opaque(&self) -> bool {
|
||||||
FillColor::from(*self).is_opaque()
|
true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ impl Frame for (Vec3, Vec3, Vec3, Vec3) {
|
||||||
FillColor::from(*self).draw(draw, rect)
|
FillColor::from(*self).draw(draw, rect)
|
||||||
}
|
}
|
||||||
fn covers_opaque(&self) -> bool {
|
fn covers_opaque(&self) -> bool {
|
||||||
FillColor::from(*self).is_opaque()
|
true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -105,7 +105,7 @@ impl Frame for ((f32, f32, f32), (f32, f32, f32), (f32, f32, f32), (f32, f32, f3
|
||||||
FillColor::from(*self).draw(draw, rect)
|
FillColor::from(*self).draw(draw, rect)
|
||||||
}
|
}
|
||||||
fn covers_opaque(&self) -> bool {
|
fn covers_opaque(&self) -> bool {
|
||||||
FillColor::from(*self).is_opaque()
|
true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ impl Frame for [[f32; 3]; 4] {
|
||||||
FillColor::from(*self).draw(draw, rect)
|
FillColor::from(*self).draw(draw, rect)
|
||||||
}
|
}
|
||||||
fn covers_opaque(&self) -> bool {
|
fn covers_opaque(&self) -> bool {
|
||||||
FillColor::from(*self).is_opaque()
|
true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -154,7 +154,7 @@ impl Frame for Vec3 {
|
||||||
FillColor::from(*self).draw(draw, rect)
|
FillColor::from(*self).draw(draw, rect)
|
||||||
}
|
}
|
||||||
fn covers_opaque(&self) -> bool {
|
fn covers_opaque(&self) -> bool {
|
||||||
FillColor::from(*self).is_opaque()
|
true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -163,7 +163,7 @@ impl Frame for (f32, f32, f32) {
|
||||||
FillColor::from(*self).draw(draw, rect)
|
FillColor::from(*self).draw(draw, rect)
|
||||||
}
|
}
|
||||||
fn covers_opaque(&self) -> bool {
|
fn covers_opaque(&self) -> bool {
|
||||||
FillColor::from(*self).is_opaque()
|
true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -172,6 +172,6 @@ impl Frame for [f32; 3] {
|
||||||
FillColor::from(*self).draw(draw, rect)
|
FillColor::from(*self).draw(draw, rect)
|
||||||
}
|
}
|
||||||
fn covers_opaque(&self) -> bool {
|
fn covers_opaque(&self) -> bool {
|
||||||
FillColor::from(*self).is_opaque()
|
true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue