Ticket #3719: resizable-ghost.patch

File resizable-ghost.patch, 582 bytes (added by vmx, 11 years ago)

Size ghost correctly

  • ui/ui.resizable.js

     
    760760        resize: function(event, ui){
    761761                var o = ui.options, self = $(this).data("resizable"), pr = o.proportionallyResize;
    762762
    763                 if (self.ghost) self.ghost.css({ position: 'relative', height: self.size.height, width: self.size.width });
     763                if (self.ghost) self.ghost.css({ position: 'relative', height: self.size.height-self.sizeDiff.height, width: self.size.width-self.sizeDiff.width });
    764764
    765765        },
    766766