Skip to content

Commit 9cbb58d

Browse files
author
tznind
committed
Remove brittle method call
1 parent 6702e8b commit 9cbb58d

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/Design.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -592,10 +592,6 @@ private void SuppressNativeClickEvents(ColorBar cb)
592592
cb.MouseEvent += (s, e) => this.SuppressNativeClickEvents(s, e, true);
593593
cb.MouseEnter += (s, e) => e.Cancel = true;
594594
cb.MouseBindings.Clear();
595-
596-
// Prevent the color picker bar from activating as the wiring for drag changing hue bar etc is tied to activate
597-
cb.RemoveCommand(Command.Activate);
598-
599595
}
600596

601597
private void SuppressNativeClickEvents(object? sender, Mouse obj, bool alsoSuppressClick = false)

0 commit comments

Comments
 (0)