diff --git a/app/pin_handler.ts b/app/pin_handler.ts index a751351..27497f1 100644 --- a/app/pin_handler.ts +++ b/app/pin_handler.ts @@ -32,7 +32,7 @@ export class PinHandler { this.UpdatePinBoxStatus(); }); // put origin into pincontainer array - this.allPinContainers = [originPin]; + this.allPinContainers = [ originPin ]; } public UpdatePinBoxStatus = () => { @@ -131,7 +131,7 @@ export class PinHandler { this.UpdateAnimationPinNames(); }); // button to remove pin - const removePinButton = document.createElement('button'); + const removePinButton = document.createElement('div'); newDiv.appendChild(removePinButton); removePinButton.textContent = 'X'; removePinButton.className = 'removeButton'; diff --git a/app/stylesheets/main.scss b/app/stylesheets/main.scss index 030fcb2..4f15b25 100644 --- a/app/stylesheets/main.scss +++ b/app/stylesheets/main.scss @@ -60,6 +60,7 @@ div { padding: 8px; text-align: center; background-color: $secondary-bg-color; + border-radius: 5px; } .center { @@ -283,9 +284,12 @@ $pin-button-size: 75px; display: block; margin: 0 auto; position: relative; - transform: translate($pin-button-size / 2, -$pin-button-size / 2); + transform: translate($pin-button-size / 2, -$pin-button-size / 2 + 5px); width: 15px; + border: 1px solid; border-radius: 50%; - background-color: rgb(158, 15, 34); - color: rgb(227, 227, 236); + background-color: #9e0f22; + color: #e3e3ec; + height: 15px; + line-height: 15px; } diff --git a/dist/index.html b/dist/index.html index f6aa813..98c4adb 100644 --- a/dist/index.html +++ b/dist/index.html @@ -47,6 +47,7 @@

Arrow Keys - Advance frames

Spacebar - Play/Pause Animation

S - Export

+

Add pins with the + button