Closed
Bug 550693
Opened 14 years ago
Closed 14 years ago
Editor "blinks" when jumping back from the commandline
Categories
(Skywriter Graveyard :: Editor, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: julian.viereck, Unassigned)
References
Details
Attachments
(1 file)
1.02 KB,
patch
|
pcwalton
:
review+
|
Details | Diff | Splinter Review |
If you focus the commandline in Bespin and then focus the editor again, you will notice that the editor "blinks" for a short time (blinking = you see the blue background color of SproutCore).
Reporter | ||
Comment 1•14 years ago
|
||
The blinking is caused by the fact, that jumping back to the editor resizes the editor's canvas. If you resize a HTML5 canvas, the entire content is dropped. Due to this, the editor is back again AFTER the first repainting, which takes at least 33ms. In the meantime, you see the background of the SproutCore app. To fix this, I've prevented the canvas from downsizing.
Attachment #430847 -
Flags: review?(pwalton)
Reporter | ||
Updated•14 years ago
|
Whiteboard: needs-pull
Comment 2•14 years ago
|
||
Having the canvas unable to shrink is annoying, but I don't see any way around it short of having multiple canvases (which is something we probably want to do at some point). For now this patch is fine. Applied as changeset 158cbe613fd1.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Whiteboard: needs-pull
Updated•14 years ago
|
Attachment #430847 -
Flags: review?(pwalton) → review+
You need to log in
before you can comment on or make changes to this bug.
Description
•