fix layer delete order bug, fix and improve brush preview during the stroke, fix windows mouse capture (api works only on the main thread)

This commit is contained in:
2018-11-03 23:44:09 +01:00
parent 3ee10bb88d
commit eb1c8d6b7a
6 changed files with 37 additions and 17 deletions

View File

@@ -23,7 +23,7 @@ struct Controller
int index = 0;
bool active = false;
std::map<uint64_t, bool> buttons;
std::map<uint8_t, float> buttons_axis;
std::map<uint8_t, bool> buttons_axis;
uint64_t buttons_bits{ 0 };
glm::vec2 axis[5];
glm::mat4 xform{ 1 };