File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ import Konva from 'konva';
33export const isUserDoingMultipleSelectionUsingCtrlOrCmdKey = (
44 e : Konva . KonvaEventObject < MouseEvent > | Konva . KonvaEventObject < TouchEvent >
55) => {
6- // Ctrl in Windows o Cmd en Mac
7- const isCtrlOrCmdPressed = e . evt . ctrlKey || e . evt . metaKey ;
6+ // Check if Ctrl (Windows), Cmd (Mac), or Shift is pressed
7+ const isCtrlOrCmdOrShiftPressed =
8+ e . evt . ctrlKey || e . evt . metaKey || e . evt . shiftKey ;
89
9- return isCtrlOrCmdPressed ;
10+ return isCtrlOrCmdOrShiftPressed ;
1011} ;
Original file line number Diff line number Diff line change @@ -26,4 +26,8 @@ export default defineConfig({
2626 '@' : fileURLToPath ( new URL ( './src' , import . meta. url ) ) ,
2727 } ,
2828 } ,
29+ server : {
30+ port : 5173 , // Usa el mismo puerto que te muestra la terminal
31+ open : true , // Esto abrirá el navegador automáticamente
32+ } ,
2933} ) ;
You can’t perform that action at this time.
0 commit comments