mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 12:28:12 +08:00
Make it compile (#37)
* Fix indentation * Set the correct name of the crate in root Cargo.toml * Fix all compile errors
This commit is contained in:
committed by
Keavon Chambers
parent
e235c0cf30
commit
a8a9e15a4a
@@ -1,3 +1,6 @@
|
||||
use crate::wrappers::Color;
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
/// Modify the currently selected tool in the document state store
|
||||
#[wasm_bindgen]
|
||||
pub fn select_tool(tool: String) {
|
||||
@@ -10,7 +13,6 @@ pub fn on_mouse_move(x: u32, y: u32) {
|
||||
todo!()
|
||||
}
|
||||
|
||||
use graphite_editor::Color;
|
||||
/// Update working colors
|
||||
#[wasm_bindgen]
|
||||
pub fn update_colors(primary_color: Color, secondary_color: Color) {
|
||||
|
||||
Reference in New Issue
Block a user