Michael Zhao

Results 8 comments of Michael Zhao

It could be a new button in the draw control between "edit" and "delete", and when you click on a point it breaks the line

It seems like incorrect case warnings are also triggered inside `#[automatically_derived]`. See https://github.com/madonoharu/tsify/issues/42

`removeItem` makes sense since mods can link to this function and use it to remove any item

This seems like a rust-analyzer issue. The ___wbg_instanceof is from wasm-bindgen for `JsCast` and the surrounding block has `#[automatically_derived]` which should suppress this kind of warnings

This might be a workaround: ```rust #[allow(non_snake_case)] mod tsify_derive { use super::*; #[derive(Tsify, Serialize, Deserialize)] #[tsify(into_wasm_abi, from_wasm_abi)] pub struct MyStruct { ... } } pub use tsify_derive::MyStruct; ``` Or make...

@madonoharu Can you look over this PR and see if this could be merged?

That's what the "most cases" is about :) Quoting a false positive is better than missing one though, since it would still be functional

> @Pistonight did you find a way around this, since the PR hasn't been accepted in so long? > > I for one ended up creating a build script to...