r92146 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r92145
|
r92146
|
r92147
>
Date:
09:30, 14 July 2011
Author:
hashar
Status:
deferred
Tags:
Comment:
* fix up selection which only possible once.
* add support for 'control' keycode (17)
Modified paths:
/trunk/parsers/wikidom/lib/es/es.Surface.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/parsers/wikidom/lib/es/es.Surface.js
—
—
@@ -107,6 +107,9 @@
108
108
this.drawSelection();
109
109
}
110
110
break;
111
+ case 17: // Control
112
+ this.ctrlDown = true;
113
+ break;
111
114
case 37: // Left arrow
112
115
this.initialHorizontalCursorPosition = null;
113
116
this.moveCursorLeft();
—
—
@@ -179,7 +182,13 @@
180
183
switch ( e.keyCode ) {
181
184
case 16: // Shift
182
185
this.shiftDown = false;
186
+ if ( this.keyboardSelecting ) {
187
+ this.keyboardSelecting = false;
188
+ }
183
189
break;
190
+ case 17: // Control
191
+ this.ctrlDown = false;
192
+ break;
184
193
default:
185
194
var surface = this;
186
195
setTimeout( function() {
Status & tagging log
14:32, 14 July 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r92146
[
removed:
new
added:
deferred]