File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 939
939
var bar = $ ( '<div class="bar"><div class="fn-label">' + label + '</div></div>' )
940
940
. addClass ( cls )
941
941
. css ( {
942
- width : ( ( cellWidth * days ) - barMarg ) + 5
942
+ width : ( ( cellWidth * days ) - barMarg ) + 3
943
943
} )
944
944
. data ( "dataObj" , dataObj ) ;
945
945
1705
1705
// Get the current margin size of the progress bar
1706
1706
_getProgressBarMargin : null ,
1707
1707
getProgressBarMargin : function ( ) {
1708
- if ( ! tools . _getProgressBarMargin ) {
1708
+ if ( ! tools . _getProgressBarMargin && tools . _getProgressBarMargin !== 0 ) {
1709
1709
$ ( "body" ) . append (
1710
1710
$ ( '<div style="display: none; position: absolute;" id="measureBarWidth" ><div class="fn-gantt"><div class="rightPanel"><div class="dataPanel"><div class="row day"><div class="bar" /></div></div></div></div></div>' )
1711
1711
) ;
You can’t perform that action at this time.
0 commit comments