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 {
|
.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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue