EasyRPG / Editor

Game editor similar to RPG Maker
https://easyrpg.org/editor/
GNU General Public License v3.0
345 stars 58 forks source link

Copy&Paste a Map does not work #144

Closed rygos closed 3 years ago

rygos commented 4 years ago

Hi,

I can't copy and paste a map. If I try to copy a map the paste icon is enabled. But If I try to paste a map I get the following message:

image
Ghabry commented 4 years ago

Ohhhh, it seems that the Dark Mode detection works. I have a white and a dark toolbar icon set. I wrote ObjectiveC-Code just to query the MacOS dark mode flag..... naaaaaah. Just kidding. The algorithm is trivial: I'm reading the background color and check if in HSL color space the lightness of the color is less than 128, then it is dark mode. :rofl: