I hacked together a Shadower.js-file that implements MochaUI.Window if the browser is
Browser.Engine.webkit. It changes some of the functions to use Safari's support for shadowin in
canvas-drawing.
It is a proof-of-concept which could be included in the library to make the generation of windows
faster in Safari and other browsers in the future.
Currently it only checks if it is Browser.Engine.webkit, which is'nt ideal. I'm not sure which exact
versions of Safari have native shadows in canvas, so this needs to be corrected.
Reported by carlsholmberg, Jan 29, 2009
I hacked together a Shadower.js-file that implements MochaUI.Window if the browser is Browser.Engine.webkit. It changes some of the functions to use Safari's support for shadowin in canvas-drawing.
It is a proof-of-concept which could be included in the library to make the generation of windows faster in Safari and other browsers in the future.
Currently it only checks if it is Browser.Engine.webkit, which is'nt ideal. I'm not sure which exact versions of Safari have native shadows in canvas, so this needs to be corrected.
And again sorry for the previous post!
Thanks for a awesome library! Great work!
Comment 1 by carlsholmberg, Jan 29, 2009
Here is the file.
4.0 KB Download