better ui feedback on list item drag
This commit is contained in:
parent
e81400dfc3
commit
e994b20e24
2 changed files with 4 additions and 4 deletions
|
@ -924,6 +924,9 @@ Lists
|
|||
.OxTextList .OxBody .OxItem.OxSelected .OxCell.OxEditable {
|
||||
cursor: text;
|
||||
}
|
||||
.OxTextList .OxBody .OxItem.OxSelected.OxDrag .OxCell {
|
||||
cursor: ns-resize;
|
||||
}
|
||||
.OxTextList .OxPage {
|
||||
position: absolute;
|
||||
}
|
||||
|
|
|
@ -6573,10 +6573,7 @@ requires
|
|||
});
|
||||
//Ox.print('dragItem', e);
|
||||
//Ox.print(e.offsetY, offsets)
|
||||
$item.addClass('OxDrag') // fixme: why does the class not work?
|
||||
.css({
|
||||
cursor: 'move',
|
||||
});
|
||||
$item.addClass('OxDrag');
|
||||
$window.mousemove(function(e) {
|
||||
var clientY = e.clientY - that.offset()['top'],
|
||||
offset = clientY % 16,
|
||||
|
|
Loading…
Reference in a new issue