kNumbers icon indicating copy to clipboard operation
kNumbers copied to clipboard

Draggable row with sliders drag the row along with the slider

Open alextd opened this issue 2 years ago • 0 comments

video via bug report: https://imgur.com/R4MRtLh

So the problem is this transpiler, TL;DR remove it, why does it even exist?: https://github.com/alextd/kNumbers/blob/642fbaf518defc8c3b09d3d1f4a535d51bc50a52/Numbers/Numbers.cs#L192

It changes the vanilla code for reorderable dragging from event-based to input-based (for some reason)

When the slider in the reorderable row captures and uses the event, the reorderable code that follows should not use the event and should not drag.

But after the transpiler, it's using input instead of events, it detects that the mouse is down anyway and drags the thing.

So it oughta not do that? It ought not transpile that method at all? What is it even doing that for? This is old old code though so gee, who knows why it ever existed.

alextd avatar Feb 03 '23 19:02 alextd