Page 1 of 1

[Rseding91] [1.1.3] "only-in-cursor" flag overrides special clear cursor behavior for wires

Posted: Thu Dec 03, 2020 12:47 pm
by daydev
Hello. Usually wires have a special behavior when clearing the cursor ("Q" by default). It first cancels the current wiring operation, and only on the second press it actually clears the cursor. But if the wire item has the flag "only-in-cursor" it overrides this special behavior and instead of cancelling the current wiring operation it just clears the cursor on the first press.

Steps to reproduce:
1. Add "only-in-cursor" flag to one of the wire item, e.g. "red-wire". An example of where this is done is my mod Wire Shortcuts.
2. Take a stack of wire.
3. Begin a wiring operation by clicking on something wire-able.
4. Press "Q".
5. The cursor is cleared instead of the wiring operation being cancelled.

I'm not sure if this would be considered a bug, but it seems to me that wire should retain its special behavior even if it's specified as "only-in-cursor".

Re: [1.1.3] "only-in-cursor" flag overrides special clear cursor behavior for wires

Posted: Sat Dec 05, 2020 7:13 pm
by Rseding91
Thanks for the report. It's now fixed for the next release.