mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-02-15 04:16:25 +00:00
minor style fixes.
This commit is contained in:
parent
10b8cc2fe1
commit
b6853fbd88
@ -648,7 +648,7 @@ Program.prototype.enableGpm = function() {
|
||||
type: 'GPM',
|
||||
action: 'mousedown',
|
||||
button: self.gpm.ButtonName(btn),
|
||||
raw: [btn,modifier, x, y],
|
||||
raw: [btn, modifier, x, y],
|
||||
x: x,
|
||||
y: y,
|
||||
shift: self.gpm.hasShiftKey(modifier),
|
||||
@ -668,7 +668,7 @@ Program.prototype.enableGpm = function() {
|
||||
type: 'GPM',
|
||||
action: 'mouseup',
|
||||
button: self.gpm.ButtonName(btn),
|
||||
raw: [btn,modifier, x, y],
|
||||
raw: [btn, modifier, x, y],
|
||||
x: x,
|
||||
y: y,
|
||||
shift: self.gpm.hasShiftKey(modifier),
|
||||
@ -688,7 +688,7 @@ Program.prototype.enableGpm = function() {
|
||||
type: 'GPM',
|
||||
action: 'mousemove',
|
||||
button: self.gpm.ButtonName(btn),
|
||||
raw: [btn,modifier, x, y],
|
||||
raw: [btn, modifier, x, y],
|
||||
x: x,
|
||||
y: y,
|
||||
shift: self.gpm.hasShiftKey(modifier),
|
||||
@ -708,7 +708,7 @@ Program.prototype.enableGpm = function() {
|
||||
type: 'GPM',
|
||||
action: 'mousemove',
|
||||
button: self.gpm.ButtonName(btn),
|
||||
raw: [btn,modifier, x, y],
|
||||
raw: [btn, modifier, x, y],
|
||||
x: x,
|
||||
y: y,
|
||||
shift: self.gpm.hasShiftKey(modifier),
|
||||
@ -724,9 +724,9 @@ Program.prototype.enableGpm = function() {
|
||||
var key = {
|
||||
name: 'mouse',
|
||||
type: 'GPM',
|
||||
action: dy > 0 ? 'wheelup':'wheeldown',
|
||||
action: dy > 0 ? 'wheelup' : 'wheeldown',
|
||||
button: self.gpm.ButtonName(btn),
|
||||
raw: [btn,modifier, x, y, dx, dy],
|
||||
raw: [btn, modifier, x, y, dx, dy],
|
||||
x: x,
|
||||
y: y,
|
||||
shift: self.gpm.hasShiftKey(modifier),
|
||||
|
Loading…
x
Reference in New Issue
Block a user