mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 01:23:32 -06:00
ux(dashboard): fix for dropzone width when resizing another panel
This commit is contained in:
parent
2d19af601a
commit
907fb9c1be
@ -44,11 +44,11 @@ export class DashboardRow {
|
||||
}
|
||||
}
|
||||
|
||||
panelSpanChanged() {
|
||||
panelSpanChanged(alwaysSendEvent?) {
|
||||
var oldSpan = this.span;
|
||||
this.updateRowSpan();
|
||||
|
||||
if (oldSpan !== this.span) {
|
||||
if (alwaysSendEvent || oldSpan !== this.span) {
|
||||
this.events.emit('span-changed');
|
||||
}
|
||||
}
|
||||
|
@ -191,7 +191,7 @@ module.directive('panelResizer', function($rootScope) {
|
||||
}
|
||||
}
|
||||
|
||||
ctrl.row.panelSpanChanged();
|
||||
ctrl.row.panelSpanChanged(true);
|
||||
|
||||
scope.$apply(function() {
|
||||
ctrl.render();
|
||||
|
Loading…
Reference in New Issue
Block a user