Fix deprecation warning on macOS

This commit is contained in:
Cameron Gutman
2020-02-29 15:54:10 -08:00
parent 4bb6f711b9
commit 7ee323f0d5
+2 -2
View File
@@ -357,10 +357,10 @@ public:
switch (type) { switch (type) {
case Overlay::OverlayDebug: case Overlay::OverlayDebug:
[m_OverlayTextFields[type] setAlignment:NSLeftTextAlignment]; [m_OverlayTextFields[type] setAlignment:NSTextAlignmentLeft];
break; break;
case Overlay::OverlayStatusUpdate: case Overlay::OverlayStatusUpdate:
[m_OverlayTextFields[type] setAlignment:NSRightTextAlignment]; [m_OverlayTextFields[type] setAlignment:NSTextAlignmentRight];
break; break;
default: default:
break; break;