Thomas Weber
b46e1db6dc
Update translations
2021-09-15 18:48:27 -05:00
Thomas Weber
100c838b63
Tune progress bar
2021-09-12 14:59:48 -05:00
Thomas Weber
14ce1e0802
Update translations
2021-09-12 14:38:09 -05:00
Thomas Weber
b1c03c6586
Simplify some headers
...
"Further steps for xyz" was a bit misleading because those sections don't really contain further steps anymore
2021-09-12 14:35:54 -05:00
Thomas Weber
6f113c556d
preventDefault on F11 in electron
2021-09-12 14:28:39 -05:00
Thomas Weber
1a3ed8973f
Add Windows 64-bit only Electron support ( #155 )
2021-09-12 14:25:36 -05:00
Thomas Weber
ee9c3ca6d0
Add F11 fullscreen support to Electron
...
Suggested in #157
2021-09-12 14:24:13 -05:00
Thomas Weber
de41f965a8
Add missing semicolon
2021-09-12 14:14:50 -05:00
Thomas Weber
43f767fa5d
Gracefully handle AudioContext being unavailable
...
For the three people on the planet using Tor Browser
2021-09-11 20:15:49 -05:00
Thomas Weber
eedd5e0163
Fix language block
2021-09-11 20:03:31 -05:00
Thomas Weber
8bac2f490d
Set VM language to browser language
2021-09-11 20:02:13 -05:00
Thomas Weber
fc45edbfa4
Update translations
...
Accidentally sent some unused prototype strings to transifex, whoops
2021-09-11 17:15:23 -05:00
Thomas Weber
86ef2ac4a0
Update translations
2021-09-11 17:13:14 -05:00
Thomas Weber
d63be9f8a8
Service worker cleanup
2021-09-11 13:45:46 -05:00
Thomas Weber
38e2952700
Don't abuse use new for spawning wrapped workers
2021-09-11 13:29:16 -05:00
Thomas Weber
dfb449e9f0
sb3 monitors doesn't exist sometimes
...
Project 5 does not contain monitors
This fixes an error when trying to package that project
2021-09-11 12:25:40 -05:00
Thomas Weber
e78d1b25fb
Document the intended use for the zip environment
2021-09-09 18:44:51 -05:00
Thomas Weber
f36c58a745
Wrap <Section> contents in a <div>
...
Svelte generates slightly shorter code like this
2021-09-09 18:25:59 -05:00
Thomas Weber
7f88aeea5c
Make context menu shadows more visible
2021-09-09 16:04:27 -05:00
Thomas Weber
d86bddad24
Fix VM stage size desync with resizeToFill
2021-09-08 20:22:55 -05:00
Thomas Weber
f154adbe5f
Trim whitespace
2021-09-08 18:45:56 -05:00
Thomas Weber
9bb8420797
Remove unused getRow
2021-09-08 18:29:47 -05:00
Thomas Weber
c3b06496bc
New option: Dynamically resize stage to fill page
...
#91 , #149
2021-09-08 18:01:30 -05:00
Thomas Weber
4d378fc906
Show slight feedback when hovering over <select>
2021-09-08 17:09:29 -05:00
Thomas Weber
c8c6acf74e
minify/sb3: Use a block ID pool per-target
2021-09-08 16:45:42 -05:00
Thomas Weber
9fb805b533
minify/sb3: clean up code
2021-09-08 16:23:43 -05:00
Thomas Weber
098a06f453
minify/sb3: More aggressive minification
...
- Remove monitor values
- Remove comments
- Remove useless meta
- Remove x, y, shadow, topLevel from blocks when possible
2021-09-08 16:19:31 -05:00
Thomas Weber
b61ccff165
Convert analysis.stageVariables to a list
...
We ony looked at the values anyways, so there's no reason for it to be a dict-like object
This fixes tests that used to rely on exact IDs, which are no longer guaranteed to be consistent
2021-09-08 15:47:06 -05:00
Thomas Weber
119d64231e
Lightly optimize sb3 project.json
...
This uses some disabled-by-default code from TW/scratch-vm to optimize projects
It's not optimal, but it's safe outside of the editor while still saving significant space
Part of #148
2021-09-08 15:37:57 -05:00
Thomas Weber
867986bfeb
Register service worker when page finishes loading
2021-09-07 17:07:52 -05:00
Thomas Weber
e96e9420aa
Load <PackagerOptions> lazily
...
supercedes #136
2021-09-07 17:07:38 -05:00
Thomas Weber
a206354ed0
Improve service worker more (fix offline)
2021-09-07 16:52:29 -05:00
Thomas Weber
60313ff864
Slightly clean up service worker
2021-09-07 16:32:09 -05:00
Thomas Weber
e5d03bc091
Update translations
2021-09-07 16:29:02 -05:00
Thomas Weber
a70b8ecd49
Link directly to the relavent comment
2021-09-07 16:26:14 -05:00
Thomas Weber
85dfb24e27
Remove unused import
2021-09-07 16:19:34 -05:00
Thomas Weber
1d712f4026
Improve service worker
2021-09-07 16:19:29 -05:00
Thomas Weber
bb8acf7714
Change how workers are loaded
2021-09-07 15:56:53 -05:00
Thomas Weber
074f7419aa
Convert ImageInput button to <button>
...
for better a11y
2021-09-06 01:28:43 -05:00
Thomas Weber
9b7007580a
Don't style <select> at all in safari
...
Apple has some radical ideas for how to style these that we will not get in the way of
Safari does support color-scheme: dark, so they will still be dark
2021-09-05 23:49:01 -05:00
Thomas Weber
848b94df06
Add noscript
2021-09-05 23:33:36 -05:00
Thomas Weber
3fe47c5b97
Make sure modals don't overflow
2021-09-05 23:07:24 -05:00
Thomas Weber
1f8ca75bbf
Improve modals
...
Modals now handle a11y much better than before:
- you can no longer focus elements behind the modal
- the first button in the modal will be focused
- focus is returned to previous element when the modal is closed
2021-09-05 23:02:49 -05:00
Thomas Weber
36795997fe
Improve global styles
2021-09-05 22:31:57 -05:00
Thomas Weber
75d3ef40db
Update translations
2021-09-05 13:40:59 -05:00
Thomas Weber
a145a38a0e
Improve scaffolding file dropping UX
2021-09-04 16:17:35 -05:00
Thomas Weber
f1e0a6803c
Update macOS WebView
...
Exporting lists works now
2021-09-04 15:29:42 -05:00
Thomas Weber
7f76fc5532
Update list length immediately when imported
...
Previously there was a bit of delay from import to the list length number updating
2021-09-04 15:25:23 -05:00
Thomas Weber
811f4203df
Fix computeWindowSize
2021-09-04 15:10:45 -05:00
Thomas Weber
b1c23d73dc
Use ExternalDownloadHelper to download files if available
...
Certain environments (macoS WebView) can't easily download files the normal way, so a special workaround is needed
2021-09-04 14:44:02 -05:00