Skip to content

Commit

Permalink
Fix relayouting via connection
Browse files Browse the repository at this point in the history
  • Loading branch information
frcroth committed Jun 3, 2021
1 parent 005671f commit 9cd47ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timeline/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class Timeline extends QinoqMorph {
this.initializeLayerInfoContainer();

this.initializeLayerContainer();
connect(this.ui.layerContainer, 'extent', this.ui.scrollableContainer, 'height', { converter: ' (extent) => extent.y > timeline.height - scrollbarHeight ? timeline.height - scrollbarHeight : extent.y', varMapping: { timeline: this, scrollbarHeight: TIMELINE_CONSTANTS.VERTICAL_SCROLLBAR_HEIGHT } }).update(this.ui.layerContainer.extent);
connect(this.ui.layerContainer, 'extent', this.ui.scrollableContainer, 'height', { converter: ' (extent) => extent.y > timeline.height - scrollbarHeight ? timeline.height - scrollbarHeight - rulerHeight: extent.y', varMapping: { timeline: this, scrollbarHeight: TIMELINE_CONSTANTS.VERTICAL_SCROLLBAR_HEIGHT, rulerHeight: TIMELINE_CONSTANTS.RULER_HEIGHT } }).update(this.ui.layerContainer.extent);
this.initializeScrollBar();
}

Expand Down

0 comments on commit 9cd47ee

Please sign in to comment.