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