Blank is Black rather
This commit is contained in:
parent
95b12fe9d1
commit
597aab6518
@ -50,14 +50,14 @@ impl Position for Point {
|
|||||||
|
|
||||||
impl IsBlank for Point {
|
impl IsBlank for Point {
|
||||||
fn is_blank(&self) -> bool {
|
fn is_blank(&self) -> bool {
|
||||||
self.color == 0xffffff
|
self.color == 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Blanked for Point {
|
impl Blanked for Point {
|
||||||
fn blanked(&self) -> Self {
|
fn blanked(&self) -> Self {
|
||||||
Self {
|
Self {
|
||||||
color: 0xffffff,
|
color: 0,
|
||||||
..*self
|
..*self
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user