|
|
@ -875,9 +875,7 @@ function PaintWeb (win, doc) {
|
|
|
|
// switching between tools and for accessing any other functionality of the
|
|
|
|
// switching between tools and for accessing any other functionality of the
|
|
|
|
// Web application.
|
|
|
|
// Web application.
|
|
|
|
kbListener_ = new pwlib.dom.KeyboardEventListener(this.config.guiPlaceholder,
|
|
|
|
kbListener_ = new pwlib.dom.KeyboardEventListener(this.config.guiPlaceholder,
|
|
|
|
{keydown: this.ev_keyboard,
|
|
|
|
{keypress: this.ev_keyboard});
|
|
|
|
keypress: this.ev_keyboard,
|
|
|
|
|
|
|
|
keyup: this.ev_keyboard});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.updateCanvasScaling();
|
|
|
|
this.updateCanvasScaling();
|
|
|
|
this.win.addEventListener('resize', this.updateCanvasScaling, false);
|
|
|
|
this.win.addEventListener('resize', this.updateCanvasScaling, false);
|
|
|
|