if you noticed the flicker youre obligated to tell me how to fix it
4 comments
@disconcision maybe throttle and delay selection updates by 50ms so when the mouse moves fast it ignores some transient mouse positions (but I haven't tried it and don't know if it'll work at all) @disconcision The flicker appears to be a border flickering on and off as your mouse moves between the individual lines of your multi line text string. Someone said you can throttle/delay visual updates to handle that, which is true. You could also update your hit testing so that you’re not toggling the borders while the mouse is within the bounding box of the multiline text. Don’t know how your UI is built so hard to be more specific. @disconcision I don't see a scenario where you want the cursor to be _before_ the multiline string while you're also moused over the multiline string. Therefore, I'd make it so that your cursor is always placed after the multiline string block when you're moused over the multiline string. Just an idea though, may fail for other reasons. |
@disconcision peel strips of dry birch bark or crumpled paper if you have any, put a little more kindling around and over, blow very gently