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 { .OxTextList .OxBody .OxItem.OxSelected .OxCell.OxEditable {
cursor: text; cursor: text;
} }
.OxTextList .OxBody .OxItem.OxSelected.OxDrag .OxCell {
cursor: ns-resize;
}
.OxTextList .OxPage { .OxTextList .OxPage {
position: absolute; position: absolute;
} }

View file

@ -6573,10 +6573,7 @@ requires
}); });
//Ox.print('dragItem', e); //Ox.print('dragItem', e);
//Ox.print(e.offsetY, offsets) //Ox.print(e.offsetY, offsets)
$item.addClass('OxDrag') // fixme: why does the class not work? $item.addClass('OxDrag');
.css({
cursor: 'move',
});
$window.mousemove(function(e) { $window.mousemove(function(e) {
var clientY = e.clientY - that.offset()['top'], var clientY = e.clientY - that.offset()['top'],
offset = clientY % 16, offset = clientY % 16,