Damien Elmes
dbfe12edbf
use different toolbar size on Mac
...
see discussion on 984ab9b6fe
2021-06-05 11:28:36 +10:00
Damien Elmes
0026506543
update ts deps
...
- prettier's formatting has changed, so files needed to be reformatted
- dart is spitting out deprecation warnings like:
254 │ 2: $spacer / 2,
│ ^^^^^^^^^^^
╵
bazel-out/darwin-fastbuild/bin/ts/sass/bootstrap/_variables.scss 254:6 @import
ts/sass/button_mixins.scss 2:9 @use
ts/components/ColorPicker.svelte 2:5 root stylesheet
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($grid-gutter-width, 2)
2021-05-26 09:37:40 +10:00
Henrik Giesel
3a18dce03f
Prefer event.which over event.{key,code}
...
It works better with alternative Latin-based keyboard layouts
2021-05-22 17:50:23 +02:00
Henrik Giesel
c89c42dc37
Base shortcuts with letters no event.key, with symbols/numbers on event.code
2021-05-21 22:45:55 +02:00
Henrik Giesel
5ef056a23e
Make numpad keys also cancel current shortcut sequence
2021-05-21 19:03:06 +02:00
Henrik Giesel
9d212487c6
Capitalize keyboard shortcut letters
2021-05-20 18:46:22 +02:00
Henrik Giesel
ddeae60854
Instead of timeouts, make non-related keypresses cancel shortcut sequences
2021-05-20 18:32:53 +02:00
Henrik Giesel
ae19ed527d
Switch to keyboard shortcuts based on event.key
2021-05-20 18:28:59 +02:00
Damien Elmes
70c3b51b0b
remove nested terneries and enable lint
...
@hgiesel would you mind quickly checking I've correctly captured
the logic here?
2021-04-23 13:00:18 +10:00
Damien Elmes
5a8b9f403d
move isApplePlatform() into lib/shortcuts, and remove sveltelib file
2021-04-23 11:22:30 +10:00
Henrik Giesel
5197e3b779
Prefer optionalModifiers over register multiple shortcuts
2021-04-22 18:15:25 +02:00
Henrik Giesel
31e4b79ff4
Add optionalModifiers parameter to registerShortcut
2021-04-22 17:28:38 +02:00
Henrik Giesel
7aaf7b7fe0
Add license headers
2021-04-22 16:49:30 +02:00
Henrik Giesel
57357a42a5
Satisfy formatter
2021-04-22 15:24:27 +02:00
Henrik Giesel
47809f6230
Add shortcut labels for ColorPicker and Latex items
2021-04-22 14:35:44 +02:00
Henrik Giesel
e95e78da9c
Add getPlatformString for making shortcuts to platform string
2021-04-22 13:04:24 +02:00
Henrik Giesel
dc5b13eeab
Use registerShortcut within WithShortcut
2021-04-22 01:15:38 +02:00
Henrik Giesel
b57810556d
Add lib/shortcuts
2021-04-22 01:15:38 +02:00