cosmetic bug with resizable knobs
in the line 51 of ui.resizable.js it is written:
'ui-resizable-n': { cursor: 'n-resize', top: '0px', left: '45%' },
'ui-resizable-s': { cursor: 's-resize', bottom: '0px', left:
'45%' },
'ui-resizable-e': { cursor: 'e-resize', right: '0px', top: '45%' },
'ui-resizable-w': { cursor: 'w-resize', left: '0px', top: '45%' },
This means that the knobs are not really centered in the image. I
perceived it with the eye, so it is kind of "obvious". I changed to
this and it seems better to me:
'ui-resizable-n': { cursor: 'n-resize', top: '0px', left: '50%',
marginLeft: '-4px' },
'ui-resizable-s': { cursor: 's-resize', bottom: '0px', left: '50%',
marginLeft: '-4px' },
'ui-resizable-e': { cursor: 'e-resize', right: '0px', top: '50%',
marginTop: '-4px' },
'ui-resizable-w': { cursor: 'w-resize', left: '0px', top: '50%',
marginTop: '-4px' },
(I dont know if in the new version this relay in the CSS so it is not
a bug anymore)
Regards,
David