Skip to content

Commit

Permalink
Fix #1836 unable to paint on mobile after selecting color
Browse files Browse the repository at this point in the history
Fix splash art not visible on mobile
  • Loading branch information
JannisX11 committed Apr 19, 2023
1 parent d717c9a commit ac808e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions css/start_screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@
}
#splash_screen .splash_art_slideshow_image {
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
}
Expand Down
4 changes: 2 additions & 2 deletions js/undo.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ class UndoSystem {
this.history = [];
}
startChange(amended) {
if (this.current_save && Painter.painting) {
/*if (this.current_save && Painter.painting) {
throw 'Canceled edit: Cannot perform edits while painting'
}
}*/
/*if (this.current_save && Transformer.dragging) {
throw 'Canceled edit: Cannot perform other edits while transforming elements'
}*/
Expand Down

0 comments on commit ac808e6

Please sign in to comment.