Make sure enum stays encoded correctly in JSON.

This commit is contained in:
Jeff Young 2021-01-11 14:46:51 +00:00
parent a4d417f5c0
commit 686fa35405
1 changed files with 2 additions and 1 deletions

View File

@ -42,9 +42,10 @@ class VIEW;
///< Action to perform when the mouse is dragged ///< Action to perform when the mouse is dragged
// Warning: these are encoded as integers in the file, so don't change their values
enum class MOUSE_DRAG_ACTION enum class MOUSE_DRAG_ACTION
{ {
DRAG_ANY, DRAG_ANY = -2,
DRAG_SELECTED, DRAG_SELECTED,
SELECT, SELECT,
ZOOM, ZOOM,