From d8531a7e01f9479af41ec969ede851e3d29c6c82 Mon Sep 17 00:00:00 2001
From: unsettledgames <47360416+unsettledgames@users.noreply.github.com>
Date: Thu, 1 Jul 2021 13:10:08 +0200
Subject: [PATCH 1/2] Updated help section
---
css/pixel-editor.scss | 27 ++++++++++++++++++++++
views/pixel-editor.hbs | 51 +++++++++++++++++++++++++++++-------------
2 files changed, 62 insertions(+), 16 deletions(-)
diff --git a/css/pixel-editor.scss b/css/pixel-editor.scss
index cfdfea1..305cccc 100644
--- a/css/pixel-editor.scss
+++ b/css/pixel-editor.scss
@@ -40,6 +40,33 @@ body {
/* Disable Android and iOS callouts*/
}
+#help {
+ max-height: 500px;
+ overflow-y:scroll;
+
+ li {
+ margin-top:5px;
+ }
+
+ // Fancy scrollbar
+ &::-webkit-scrollbar {
+ background: #232125;
+ width: 0.5em;
+ }
+ &::-webkit-scrollbar-track {
+ margin-top: -0.125em;
+ width: 0.5em;
+ }
+ &::-webkit-scrollbar-thumb {
+ background: #332f35;
+ border-radius: 0.25em;
+ border: solid 0.125em #232125; //same color as scrollbar back to fake padding
+ }
+ &::-webkit-scrollbar-corner {
+ background: #232125;
+ }
+}
+
#layer-properties-menu {
visibility: hidden;
margin: 0;
diff --git a/views/pixel-editor.hbs b/views/pixel-editor.hbs
index ce9e8ef..f7c5e5a 100644
--- a/views/pixel-editor.hbs
+++ b/views/pixel-editor.hbs
@@ -138,18 +138,18 @@
-
@@ -532,19 +532,38 @@
Hotkeys
- - Pencil: B or 1
- - Fill: F or 2
- - Eyedropper: E or 3
- - Pan: P or M or 4
- - Zoom: Z or 5
- - Undo: Ctrl + Z
- - Redo: Ctrl + Y or Ctrl + Alt + Z
+ - Pencil: B or 1
+ - Eraser: R
+ - Rectangle: U
+ - Line: L
+ - Fill: F or 2
+ - Eyedropper: E or 3
+ - Pan: P or M or 4
+ - Zoom: Z or 5
+ - Undo: Ctrl + Z
+ - Redo: Ctrl + Y or Ctrl + Alt + Z
+ - Rectangular selection: M
Mouse Shortcuts
- - Alt + Click - Eyedropper
- - Space + Click - Pan
- - Alt + Scroll Wheel - Zoom
+ - Eyedropper: Alt + Click
+ - Pan: Space + Click
+ - Zoom: Alt + Scroll Wheel
+
+ Layers
+
+ - {{svg "visible.svg" width="15" height="15" class = "default-icon"}}: show / hide layer
+ - {{svg "lockedpadlock.svg" width="15" height="15" class = "default-icon"}}: lock / unlock layer, when a layer is locked it's not possible to draw on it
+ - Right click on a layer to open the menu:
+
+ - Rename: change the name of the layer
+ - Duplicate: duplicate the layer
+ - Delete: delete the layer (doesn't work if there's only one layer)
+ - Merge below: merges the selected the layer with the one below it
+ - Flatten visible: merges all the visible layers
+ - Flatten all: merges all the layers
+
+
From 17da5efb78ea6d32ca7892079ffdf0157f7b6826 Mon Sep 17 00:00:00 2001
From: unsettledgames <47360416+unsettledgames@users.noreply.github.com>
Date: Thu, 1 Jul 2021 14:46:20 +0200
Subject: [PATCH 2/2] Updated splash images credits
---
js/_splashPage.js | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/js/_splashPage.js b/js/_splashPage.js
index 40fc7ed..96bd305 100644
--- a/js/_splashPage.js
+++ b/js/_splashPage.js
@@ -5,12 +5,12 @@ function SplashCoverImage(path, author, link) {
}
let images = [
- new SplashCoverImage('Rayquaza', 'Unsettled', 'https://twitter.com/_unsettled_'),
- new SplashCoverImage('Mountains', 'Skeddles', 'https://twitter.com/skeddles'),
- new SplashCoverImage('Sweetie', 'GrafxKid', 'https://grafxkid.tumblr.com/'),
- new SplashCoverImage('Glacier', 'WindfallApples', 'https://twitter.com/windfallapples'),
+ new SplashCoverImage('Rayquaza', 'Unsettled', 'https://lospec.com/unsettled'),
+ new SplashCoverImage('Mountains', 'Skeddles', 'https://lospec.com/skeddles'),
+ new SplashCoverImage('Sweetie', 'GrafxKid', 'https://twitter.com/GrafxKid'),
+ new SplashCoverImage('Glacier', 'WindfallApples', 'https://lospec.com/windfallapples'),
new SplashCoverImage('Polyphorge1', 'Polyphorge', 'https://lospec.com/poly-phorge'),
- new SplashCoverImage('Fusionnist', 'Fusionnist', 'https://twitter.com/fusionnist')
+ new SplashCoverImage('Fusionnist', 'Fusionnist', 'https://lospec.com/fusionnist')
];