mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 04:58:12 +08:00
Implement update_colors (#43)
Co-authored-by: RustyNixieTube <RustyNixieTube@users.noreply.github.com>
This commit is contained in:
committed by
Keavon Chambers
co-authored by
RustyNixieTube
parent
543fc4fec1
commit
e4073a112f
@@ -13,6 +13,12 @@ impl Color {
|
||||
}
|
||||
}
|
||||
|
||||
impl Color {
|
||||
pub fn get_inner_color(&self) -> InnerColor {
|
||||
self.0
|
||||
}
|
||||
}
|
||||
|
||||
pub fn translate_tool(name: &str) -> Option<ToolType> {
|
||||
match name {
|
||||
"Select" => Some(ToolType::Select),
|
||||
|
||||
Reference in New Issue
Block a user