Vanessa Freudenberg
Vanessa Freudenberg
I'm assuming you mean [squeak.js.org/scratch](https://squeak.js.org/scratch/#fullscreen) not [scratch.js.org](https://scratch.js.org) right? Note that this is the Squeak version of Scratch (a.k.a. Scratch 1.4) which cannot load files from newer Scratch versions (see https://en.scratch-wiki.info/wiki/Scratch_Versions)...
Cf issue #145 for adding a file import button
> the files i have dragged were projects from the squeak js folder on the scratch online editor. i used the page that lets you download the projects, but it...
This should be fairly easy to implement. Add a wheel event handler https://github.com/codefrau/SqueakJS/blob/6112298dae73b05d453d7277894669bf31518659/squeak.js#L430 that uses `fakeCmdOrCtrlKey()` to generate an up/down event (squeak key code 30/31) with the ctrl/cmd modifiers set....
Modifier-up/down is what older images expect. I didn't know we changed the VM interface to support actual MouseWheelEvents. Is there documentation for that? If so, then supporting that would make...
This seems relevant: > **vmAttribute 48**: various properties stored in the image header (that instruct the VM) as an integer encoding an array of bit flags. > **Bit 0:** tells...
I implemented wheel handling in 4c19c74f7758259f1469a727483b7a6ee9d29076 I did not implement vm parameter 48 handling yet. It simply defaults to wheel events if on spur.
appears to work
The Smalltalk code does not expect that neither UnicodePlugin nor Pango2Plugin are available, so it falls back on the Squeak text rendering without using `asMacRoman` to convert the UTF8 string...
So with the kludge works, but only on the 4th try (fetch without and with proxy followed by xml request without and with proxy): http://codefrau.github.io/SqueakJS/run/#url=http://freudenbergs.de/vanessa/squeakjs&files=[Squeak4.5-13680.image,Squeak4.5-13680.changes,SqueakV41.sources]&pixelated Using the "cors-anywhere" proxy the...