codefrau / SqueakJS

A Squeak Smalltalk VM in Javascript
https://squeak.js.org
MIT License
365 stars 75 forks source link

Scratch buttons are the wrong size #19

Closed kach closed 9 years ago

kach commented 9 years ago

As a long-time Scratch user, it was rather weird seeing smaller unpadded buttons. :-) screen shot 2014-10-01 at 4 36 51 pm

P.S. This is very cool stuff! Have you seen Amber? How about Morphic.js?

codefrau commented 9 years ago

This has something to do with how Scratch detects the screen size, but I have not yet found what's wrong. Suggestions welcome (e.g. it does not happen on http://scratch.cf/launch/Scratch-1.4.0.7 which at the moment uses an older SqueakJS version). I know Amber and Morphic.js, yes, both exciting projects, but I wanted to run actual Squeak code.

codefrau commented 9 years ago

I was wrong, this probably was some bitblt bug. It appears to be fixed, likely because SqueakJS is now using the actual BitBlt code (https://github.com/bertfreudenberg/SqueakJS/blob/master/plugins/BitBltPlugin.js).