Skip to content

Commit

Permalink
Merge branch 'fix_column_menu_trigger_after_drag' of https://github.c…
Browse files Browse the repository at this point in the history
…om/vertex-ly/pluto_grid into vertex-ly-fix_column_menu_trigger_after_drag
  • Loading branch information
bosskmk committed Nov 30, 2022
2 parents 52fd10a + 212ee31 commit 1132ade
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/src/ui/columns/pluto_column_title.dart
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,9 @@ class PlutoColumnTitleState extends PlutoStateWithChange<PlutoColumnTitle> {
}

void _handleOnPointMove(PointerMoveEvent event) {
_isPointMoving =
(_columnRightPosition - event.position).distanceSquared > 0.5;
_isPointMoving = true;

if (!_isPointMoving) {
if ((_columnRightPosition - event.position).distanceSquared <= 0.5) {
return;
}

Expand Down

0 comments on commit 1132ade

Please sign in to comment.