fixes on colors and dist
This commit is contained in:
@@ -60,4 +60,9 @@ impl Color {
|
||||
pub const fn raw(self) -> u16 {
|
||||
self.0
|
||||
}
|
||||
|
||||
pub const fn hex(self) -> i32 {
|
||||
self.0 as i32
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user