[racket-dev] while resizing drawing into a canvas is off
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Matthew,
On 10/18/11 17:10, Matthew Flatt wrote:
> At Tue, 18 Oct 2011 16:32:54 +0200, Marijn wrote:
>> the attached program draws a grid in a canvas and paints a few of
>> the cells so created. When resizing the window, the grid is also
>> dynamically resized together with the coloring of a few painted
>> cells. Everything seems to work fine, except that while the
>> window is being changed in size the drawing is off and the
>> colored cells do not properly correspond to the drawn grid. You
>> can see this especially well if you hold down the mouse button
>> after resizing. When releasing it the grid lines will change
>> position to match up once more with the colorings.
>
> This was due to an internal inconsistency with `get-char-width'
> and `get-char-height'. I've pushed a repair.
Could you perhaps comment on the slowness of the cursor appearing in a
clicked cell? It seems to have something to do with the timer
frequency, because if I decrease the frequency the first time that the
cursor appears is also sooner after clicking in a cell.
Another thing. How do you enable simple select/copy/cut/paste behavior
with standard key-bindings in an editor?
Thanks,
Marijn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6f5wsACgkQp/VmCx0OL2xPLgCgjPdS/Ii9Kdyj4bNKZGLYRcOh
qn0An14oOSrI57/XU/n3tkELHvs4qhg3
=90cJ
-----END PGP SIGNATURE-----