chrislo27 / PolyrhythmMania

A game that faithfully recreates the Polyrhythm minigame from Rhythm Tengoku (リズム天国), with a built-in level editor
https://polyrhythmmania.rhre.dev
GNU General Public License v3.0
237 stars 18 forks source link

[Bug]: Clicking "Reset this mapping to default" causes the entire tileset palette to be reset #38

Closed chrislo27 closed 2 years ago

chrislo27 commented 2 years ago

Version

v1.1.0

Operating System

Windows 10

Problem Description

In the Editor > tileset palette editing dialog > clicking the "Reset this mapping to default" button causes the entire tileset palette to be reset to the selected base palette, instead of just that particular mapping.

Steps to Reproduce Problem

  1. Go to the Editor
  2. Click the "Customize Tileset Palette" button to open the relevant dialog
  3. Select "Group Mapping: Cube" and change the colour to something noticeable other than the default
  4. Select "Group Mapping: Piston" and change the colour to something noticeable other than the default
  5. Close the dialog and see that the changes have affected the preview in the top left
  6. Open the customize tileset palette dialog again and select "Group Mapping: Piston"
  7. Click "Reset this mapping to default"
  8. Close the dialog
  9. Notice that the entire tileset has been reset, including the cube group mapping, even though you didn't reset that one

Relevant log output

No response

(Optional) Other useful information

Resolved as of bc83fb2a5624340d1bb62fa86e855a937e47b24c for next patch.