better ui feedback on list item drag

This commit is contained in:
rlx 2011-01-16 22:33:48 +00:00
parent e81400dfc3
commit e994b20e24
2 changed files with 4 additions and 4 deletions

View file

@ -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;
}

View file

@ -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,