Clean up MenuList types and fix many Vue and Clippy warnings

Also remove hard-coded-in-Vue Graphite logo in the menu bar in favor of a Rust definition.
This commit is contained in:
Keavon Chambers
2022-08-25 14:41:16 -07:00
parent 1a90a4db86
commit 3a84de32ac
27 changed files with 361 additions and 374 deletions

View File

@@ -34,6 +34,13 @@ pub enum WasmMaximizeArcs {
#[derive(Clone)]
pub struct WasmBezier(Bezier);
impl Drop for WasmBezier {
fn drop(&mut self) {
// Is it correct to keep this empty?
// Consider removing after https://github.com/rustwasm/wasm-bindgen/pull/2984 is merged and released
}
}
/// Convert a `DVec2` into a `Point`.
fn vec_to_point(p: &DVec2) -> Point {
Point { x: p.x, y: p.y }