diff --git a/Common/UI/View.cpp b/Common/UI/View.cpp index c8f74ee1f1..72d3443ab0 100644 --- a/Common/UI/View.cpp +++ b/Common/UI/View.cpp @@ -1046,7 +1046,7 @@ void TextEdit::Draw(UIContext &dc) { } void TextEdit::GetContentDimensions(const UIContext &dc, float &w, float &h) const { - dc.MeasureText(dc.theme->uiFont, 1.0f, 1.0f, text_.size() ? text_.c_str() : "Wj", &w, &h, align_); + dc.MeasureText(dc.theme->uiFont, 1.0f, 1.0f, !text_.empty() ? text_.c_str() : "Wj", &w, &h, align_); w += 2; h += 2; } diff --git a/UWP/UWP.vcxproj b/UWP/UWP.vcxproj index 767f2573fa..6426e6309b 100644 --- a/UWP/UWP.vcxproj +++ b/UWP/UWP.vcxproj @@ -184,14 +184,14 @@ - PPSSPP_UWP_TemporaryKey.pfx True False Never - b5e422213fb26042db3327f1102c4f9b86c27b1c + 169879A9D7A20F22B0DD435921035E3E6D5996A4 False 1 OnApplicationRun + True @@ -596,6 +596,13 @@ true Document + + true + Document + + + true + true diff --git a/UWP/UWP.vcxproj.filters b/UWP/UWP.vcxproj.filters index 4fcd4bd2ee..209fd4951f 100644 --- a/UWP/UWP.vcxproj.filters +++ b/UWP/UWP.vcxproj.filters @@ -88,9 +88,6 @@ Content - - Content - Content @@ -103,12 +100,17 @@ Assets + + Assets + + + Content + - Content @@ -365,6 +367,9 @@ Content\themes + + Content + @@ -376,4 +381,4 @@ Content - \ No newline at end of file +