Skip to content

Commit

Permalink
fix picker press action
Browse files Browse the repository at this point in the history
  • Loading branch information
fcannizzaro committed Jan 31, 2024
1 parent 4540173 commit efa6a4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugin/src/actions/picker/util/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ export const onPickerActivate = (
layout: "picker-layout-full.json",
image: "./imgs/canvas/picker/navigation.png",
locked: true,
onPress: () =>
!panel.opened ? () => grid.destroy() : () => panel.close(),
onPress: !panel.opened ? () => grid.destroy() : () => panel.close(),
onDialLeft: () => grid.pagination.previous(),
onDialRight: () => grid.pagination.next(),
});
Expand Down

0 comments on commit efa6a4b

Please sign in to comment.