Skip to content

Commit

Permalink
Increase double click window
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhanshuguptagit committed Jun 21, 2024
1 parent 990f107 commit c45adc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bean/ui/views/sheet.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
(defn- cell-pointer-down [rc grid-g sheet row-heights col-widths pixi-app]
(submit-cell-input)
(rf/dispatch [::events/set-selection {:start rc :end rc}])
(when (and (< (- (js/Date.now) (:time @last-click)) 300)
(when (and (< (- (js/Date.now) (:time @last-click)) 500)
(= (:rc @last-click) rc))
(cell-double-click rc sheet))
(reset! last-click {:time (js/Date.now) :rc rc})
Expand Down

0 comments on commit c45adc1

Please sign in to comment.