diff --git a/misc/icons/source/common-warning-red.svg b/misc/icons/source/common-warning-red.svg new file mode 100644 index 00000000..ba09fc4d --- /dev/null +++ b/misc/icons/source/common-warning-red.svg @@ -0,0 +1,64 @@ + + + +image/svg+xml + + \ No newline at end of file diff --git a/src/css/dialogs-performance-info.css b/src/css/dialogs-performance-info.css index 2d9d745e..132e8954 100644 --- a/src/css/dialogs-performance-info.css +++ b/src/css/dialogs-performance-info.css @@ -22,7 +22,7 @@ #dialog-container.performance-info { width: 500px; - height: 575px; + height: 525px; top : 50%; left : 50%; position : absolute; @@ -54,3 +54,13 @@ .show #dialog-container.performance-info { margin-top: -300px; } + +.dialog-performance-info-body .warning-icon { + float: left; + margin-top: 10px; +} + +.dialog-performance-info-body .warning-icon-info { + overflow: hidden; + margin-left: 30px; +} diff --git a/src/img/icons/common/common-warning-red.png b/src/img/icons/common/common-warning-red.png index 506482f1..c5f4ea80 100644 Binary files a/src/img/icons/common/common-warning-red.png and b/src/img/icons/common/common-warning-red.png differ diff --git a/src/img/icons/common/common-warning-red@2x.png b/src/img/icons/common/common-warning-red@2x.png index 85ad3934..bb24901b 100644 Binary files a/src/img/icons/common/common-warning-red@2x.png and b/src/img/icons/common/common-warning-red@2x.png differ diff --git a/src/templates/dialogs/performance-info.html b/src/templates/dialogs/performance-info.html index 5bd7c7ce..98d72da1 100644 --- a/src/templates/dialogs/performance-info.html +++ b/src/templates/dialogs/performance-info.html @@ -5,25 +5,28 @@ X
-

Your current sprite exceeds the recommendations for Piskel.

-

The specifications are based on:

- -

You can ignore this message and continue working with your sprite but you might experience the following issues:

+

The current sprite may exceed the recommendations for Piskel.

+

You can ignore this warning and continue working with your sprite but you might experience the following issues:

-

If you do ignore this warning and proceed, please make sure to save often!

-

We strive to improve Piskel as well as its performance and stability, but this is only a personal project with limited time and resources.

-

So for now we prefer to warn you early rather than having you lose your work.

-

Feel free to give us feedback about this feature at https://github.com/juliandescottes/piskel

-

Thank you for your understanding.

+

If you ignore this warning, please save often!

+

To fix the issue, try adjusting your sprite settings:

+ +

We strive to improve Piskel, its performances and stability, but this is a personal project with limited time and resources. + We prefer to warn you early rather than having you lose your work.

+

Feedback welcome at https://github.com/juliandescottes/piskel

+

+

 
+
This icon will remain on the top-bottom of the application until the performance issue is fixed. You can click on it at anytime to display this information again.
+

\ No newline at end of file