We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3da795d commit c53bdd5Copy full SHA for c53bdd5
1 file changed
Web/scripts/schedule.js
@@ -691,9 +691,13 @@ function Schedule(opts, resourceGroups) {
691
if (bufferStartEnd) {
692
let bufferHeight = 41;
693
let bufferTop = top;
694
+ var current_TR = t.find('tr[data-resourceid="' + res.ResourceId + '"]:first');
695
+ const currentTrId = current_TR.attr('id');
696
if (opts.scheduleStyle === ScheduleTall) {
697
bufferTop = bufferStartEnd.top;
698
bufferHeight = bufferStartEnd.height;
699
+ } else if (opts.scheduleStyle === ScheduleStandard && typeof trHeights[currentTrId] !== 'undefined'){
700
+ bufferHeight = trHeights[currentTrId];
701
}
702
703
const style = `left:${bufferStartEnd.left}px; top:${bufferTop}px; width:${bufferStartEnd.width}px; height:${bufferHeight}px;`;
0 commit comments