From d92127cc0d667738c2ddaae33c4aadeada32c5ab Mon Sep 17 00:00:00 2001 From: Ali <79793867+alicalimli@users.noreply.github.com> Date: Sat, 8 Oct 2022 12:37:02 +0300 Subject: [PATCH 1/3] fix: sidebar sliding out bug (#246) --- src/main.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 6ae8bec9..f75adde8 100644 --- a/src/main.ts +++ b/src/main.ts @@ -139,7 +139,9 @@ if (getComputedStyle(menu).display == 'block') { for (let i = 0; i < generators.length; i++) { generators[i].addEventListener('click', () => { - navBar?.animate(navBarSlideOut, navBarAnimationOptions); + if (!navBar?.classList.contains('closed-nav')) { + navBar?.animate(navBarSlideOut, navBarAnimationOptions); + } navBar?.classList.add('closed-nav'); menuIcon?.setAttribute('icon', 'dashicons:menu-alt'); }); From 37812bc314185eaca463a1448cd10a0fc3497a14 Mon Sep 17 00:00:00 2001 From: Jashan Mago Date: Sat, 8 Oct 2022 18:35:17 +0530 Subject: [PATCH 2/3] fix: made the label of filepond file uploader responsive (#249) made the label of filepond file closes #175 --- src/main.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.ts b/src/main.ts index f75adde8..560bc6c4 100644 --- a/src/main.ts +++ b/src/main.ts @@ -150,6 +150,11 @@ for (let i = 0; i < generators.length; i++) { FilePond.create(getImageEntryElement, { imagePreviewMaxHeight: 200, + labelIdle: + window.innerWidth < 768 + ? 'Browse' + : 'Drag & Drop your files or Browse ', + onpreparefile: (fileItem, output): void => { // create a new image object const img = new Image(); From 0efc88b25580d3a72d546194fc72450fd5e50188 Mon Sep 17 00:00:00 2001 From: Elijah Trillionz <60356516+Elijah-trillionz@users.noreply.github.com> Date: Sat, 8 Oct 2022 14:09:45 +0100 Subject: [PATCH 3/3] fix: the animator range indicator issue on displaying wrong units (#241) * added the html and css for the degree display * finished adding degree display element * changed the unit * removed function call duplicates * resolving conflict * fixed issue of restoring to default fixed issue of restoring to default when transitioning to different sections of the animation generator * changed the title display for the animation range inputs * changed the unit for different title Co-authored-by: Dunsin <78784850+Dun-sin@users.noreply.github.com> --- index.html | 15 ++++++++++----- src/main.ts | 20 +++++++++++++++++--- src/pages/animation.ts | 32 ++++++++++++++++++++------------ src/style.css | 13 +++++++------ 4 files changed, 54 insertions(+), 26 deletions(-) diff --git a/index.html b/index.html index 399903ec..4f534159 100644 --- a/index.html +++ b/index.html @@ -191,7 +191,8 @@

Code Magic