ui: Fixed icon sizes when scaling to highDPI screens fails

* Fixed gcc compile error
This commit is contained in:
Eberhard Graether
2017-11-25 18:21:19 +01:00
parent 2b7349bf9b
commit bfc7a55f70
12 changed files with 43 additions and 7 deletions
+2 -3
View File
@@ -3,7 +3,6 @@
#include <map>
#include <memory>
#include <unordered_map>
#include "utility/math/Vector2.h"
@@ -150,8 +149,8 @@ private:
static float getCharWidth(NodeType::StyleType type);
static float getCharHeight(NodeType::StyleType type);
static std::unordered_map<NodeType::StyleType, float> s_charWidths;
static std::unordered_map<NodeType::StyleType, float> s_charHeights;
static std::map<NodeType::StyleType, float> s_charWidths;
static std::map<NodeType::StyleType, float> s_charHeights;
static std::shared_ptr<GraphViewStyleImpl> s_impl;