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-26 00:10:41 -07:00
parent 5ad76bec6e
commit 7848391f6e
27 changed files with 361 additions and 374 deletions
@@ -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 }