@@ -250,17 +250,16 @@ void DevTools::draw(GLRenderCtx* ctx) {
250250 if (cursor != lastCursor) {
251251 lastCursor = cursor;
252252 auto winCursor = IDC_ARROW ;
253- switch (cursor)
254- {
255- case ImGuiMouseCursor_Arrow: winCursor = IDC_ARROW ; break ;
256- case ImGuiMouseCursor_TextInput: winCursor = IDC_IBEAM ; break ;
257- case ImGuiMouseCursor_ResizeAll: winCursor = IDC_SIZEALL ; break ;
258- case ImGuiMouseCursor_ResizeEW: winCursor = IDC_SIZEWE ; break ;
259- case ImGuiMouseCursor_ResizeNS: winCursor = IDC_SIZENS ; break ;
260- case ImGuiMouseCursor_ResizeNESW: winCursor = IDC_SIZENESW ; break ;
261- case ImGuiMouseCursor_ResizeNWSE: winCursor = IDC_SIZENWSE ; break ;
262- case ImGuiMouseCursor_Hand: winCursor = IDC_HAND ; break ;
263- case ImGuiMouseCursor_NotAllowed: winCursor = IDC_NO ; break ;
253+ switch (cursor) {
254+ case ImGuiMouseCursor_Arrow: winCursor = IDC_ARROW ; break ;
255+ case ImGuiMouseCursor_TextInput: winCursor = IDC_IBEAM ; break ;
256+ case ImGuiMouseCursor_ResizeAll: winCursor = IDC_SIZEALL ; break ;
257+ case ImGuiMouseCursor_ResizeEW: winCursor = IDC_SIZEWE ; break ;
258+ case ImGuiMouseCursor_ResizeNS: winCursor = IDC_SIZENS ; break ;
259+ case ImGuiMouseCursor_ResizeNESW: winCursor = IDC_SIZENESW ; break ;
260+ case ImGuiMouseCursor_ResizeNWSE: winCursor = IDC_SIZENWSE ; break ;
261+ case ImGuiMouseCursor_Hand: winCursor = IDC_HAND ; break ;
262+ case ImGuiMouseCursor_NotAllowed: winCursor = IDC_NO ; break ;
264263 }
265264 if (cursorField) {
266265 cursorField->cursor = LoadCursor (NULL , winCursor);
@@ -371,4 +370,5 @@ void DevTools::sceneChanged() {
371370
372371bool DevTools::shouldUseGDWindow () const {
373372 return Mod::get ()->getSettingValue <bool >(" should-use-gd-window" );
374- }
373+
374+ }
0 commit comments