mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-18 18:08:07 +08:00
Refactor vector data type from document-legacy into node graph (#1057)
Add vector data type
This commit is contained in:
@@ -28,7 +28,7 @@ pub struct Color {
|
||||
alpha: f32,
|
||||
}
|
||||
|
||||
#[allow(clippy::derive_hash_xor_eq)]
|
||||
#[allow(clippy::derived_hash_with_manual_eq)]
|
||||
impl Hash for Color {
|
||||
fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
|
||||
self.red.to_bits().hash(state);
|
||||
|
||||
Reference in New Issue
Block a user