Skip to content

Commit

Permalink
Derp
Browse files Browse the repository at this point in the history
  • Loading branch information
tentone committed Feb 10, 2018
1 parent 15e19a8 commit e9ed510
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/editor/ui/tab/animation/AnimationTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,14 @@ function AnimationTab(parent, closeable, container, index)
//Iformation
this.info = document.createElement("div");
this.info.style.position = "absolute";
this.info.style.overflow = "auto";
this.info.style.backgroundColor = Editor.theme.barColor;
this.timeline.appendChild(this.info);

//Tracks
this.tracks = document.createElement("div");
this.tracks.style.position = "absolute";
this.tracks.style.overflowX = "auto";
this.tracks.style.overflowY = "visible";
this.tracks.style.overflowY = "hidden";
this.tracks.style.backgroundColor = Editor.theme.panelColor;
this.timeline.appendChild(this.tracks);

Expand Down Expand Up @@ -383,9 +382,10 @@ AnimationTab.prototype.updateInterface = function()
this.tab.style.left = this.info.style.width;

//Tracks
this.tracks.style.top = "0px";
this.tracks.style.left = (this.tab.position + 5) + "px";
this.tracks.style.width = (this.size.x - this.tab.position - 5) + "px";
this.tracks.style.height = "100px";
this.tracks.style.height = (this.timeline.scrollHeight) + "px";
}
else
{
Expand Down

0 comments on commit e9ed510

Please sign in to comment.