Fix div width on leftwards drag
This commit is contained in:
parent
e89727e531
commit
89d002d38e
@ -1215,7 +1215,7 @@ $(function() {
|
||||
if (selectionStartX != undefined) {
|
||||
$('#selection_box')
|
||||
.css({
|
||||
width: Math.abs(ev.pageX - selectionStartX)
|
||||
width: Math.ceil(ev.pageX - selectionStartX)
|
||||
})
|
||||
.fadeIn();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user