AlreadyM / jscrollpane

Automatically exported from code.google.com/p/jscrollpane
0 stars 0 forks source link

Math.ceil() for <div class="jspDrag" style="height: 40.8px; top: 259.2px"> #226

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
<div class="jspDrag" style="height: 40.8px; top: 259.2px">

apply Math.ceil() for coordinates & dimensions

Original issue reported on code.google.com by pered...@gmail.com on 19 Sep 2010 at 5:34

GoogleCodeExporter commented 9 years ago
vitch-jScrollPane-db8e996

455 > horizontalDrag.width(Math.ceil(horizontalDragWidth) + 'px');
466 > verticalDrag.height(Math.ceil(verticalDragHeight) + 'px');

Original comment by pered...@gmail.com on 19 Sep 2010 at 5:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Please let me know what bug this is supposed to fix. I haven't seen any 
problems related to the non-rounded size and positions with jScrollPane.

Also, please use the github issues list now as that is where the codebase is 
now hosted:
http://github.com/vitch/jScrollPane/issues

Original comment by kelvin.l...@gmail.com on 19 Sep 2010 at 10:24

GoogleCodeExporter commented 9 years ago
455 > horizontalDrag.width(horizontalDragWidth + 'px');
466 > verticalDrag.height(verticalDragHeight + 'px');

- invalid size of drag ( no 1px on end ).

455 > horizontalDrag.width(Math.ceil(horizontalDragWidth) + 'px');
466 > verticalDrag.height(Math.ceil(verticalDragHeight) + 'px');

- ok

Original comment by pered...@gmail.com on 19 Sep 2010 at 4:57

Attachments:

GoogleCodeExporter commented 9 years ago
not round(). only ceil() fix if.

Original comment by pered...@gmail.com on 19 Sep 2010 at 4:59