mirror of
https://github.com/nasa/openmct.git
synced 2025-02-20 17:33:23 +00:00
[Build] Clarify expressions
...to satisfy JSHint.
This commit is contained in:
parent
91bf98b38d
commit
dda0628621
@ -117,13 +117,10 @@ define(
|
||||
|
||||
style: function (zoom) {
|
||||
return {
|
||||
left: zoom.toPixels(dragHandler.start(id)) +
|
||||
Constants.HANDLE_WIDTH +
|
||||
'px',
|
||||
width: zoom.toPixels(dragHandler.duration(id)) -
|
||||
Constants.HANDLE_WIDTH * 2
|
||||
+ 'px'
|
||||
//cursor: initialStart === undefined ? 'grab' : 'grabbing'
|
||||
left: (zoom.toPixels(dragHandler.start(id)) +
|
||||
Constants.HANDLE_WIDTH) + 'px',
|
||||
width: (zoom.toPixels(dragHandler.duration(id)) -
|
||||
Constants.HANDLE_WIDTH * 2) + 'px'
|
||||
};
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user