From 50f9a5894d79e88faefc1772eca33ffd1d44f02e Mon Sep 17 00:00:00 2001 From: Kusiak Volodymyr Date: Wed, 29 Jul 2020 15:39:31 +0300 Subject: [PATCH] Fixed issue #91 Broken design : Safari --- .../src/main/java/org/tltv/gantt/client/GanttWidget.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gantt-addon/src/main/java/org/tltv/gantt/client/GanttWidget.java b/gantt-addon/src/main/java/org/tltv/gantt/client/GanttWidget.java index 5cc951a..63290a1 100644 --- a/gantt-addon/src/main/java/org/tltv/gantt/client/GanttWidget.java +++ b/gantt-addon/src/main/java/org/tltv/gantt/client/GanttWidget.java @@ -682,8 +682,7 @@ public void update(List steps) { timeline.setNoticeVerticalScrollbarWidth(isContentOverflowingVertically()); timeline.update(resolution, startDate, endDate, firstDayOfRange, firstHourOfRange, localeDataProvider); setContentMinWidth(timeline.getMinWidth()); - updateContainerStyle(); - updateContentWidth(); + internalHandleWidthChange(); updateStepWidths(steps); @@ -853,8 +852,8 @@ public void notifyWidthChanged(int width) { protected void internalHandleWidthChange() { timeline.updateWidths(); - updateContainerStyle(); updateContentWidth(); + updateContainerStyle(); } /**