Showing workspace list

This commit is contained in:
Luis Fernando Molina committed 2020-05-14 10:23:19 +02:00
1 parent 38fdf962d1
commit 4e089cec1d
4 files changed
+36 -25

No files matched your search

+2 -2
View File
@@ -71,7 +71,7 @@ function newSidePanelTab () {
if (animation === 'opening') {
xOffset = xOffset + STEP
thisObject.container.parentContainer.frame.position.x = ORIGINAL_PARENT_POSITON + xOffset
if (xOffset > thisObject.container.parentContainer.frame.width) {
if (xOffset >= thisObject.container.parentContainer.frame.width) {
animation = 'none'
xOffset = thisObject.container.parentContainer.frame.width
thisObject.container.parentContainer.frame.position.x = ORIGINAL_PARENT_POSITON + xOffset
@@ -83,7 +83,7 @@ function newSidePanelTab () {
if (animation === 'closing') {
xOffset = xOffset - STEP
thisObject.container.parentContainer.frame.position.x = ORIGINAL_PARENT_POSITON + xOffset
if (xOffset < 0) {
if (xOffset <= 0) {
animation = 'none'
xOffset = 0
thisObject.container.parentContainer.frame.position.x = ORIGINAL_PARENT_POSITON