forked from rosebudai/OpenRCT2-Web
Fixes one of the issues of #121 but 526 cannot be easily fixed
This commit is contained in:
1 parent
f7b8d4567b
commit
dc3804bfa2
2 files changed
+3
-2
No files matched your search
@@ -193,4 +193,4 @@
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
+2
-1
@@ -629,7 +629,6 @@ static void input_leftmousedown(int x, int y, rct_window *w, int widgetIndex)
|
||||
if (w != NULL) {
|
||||
windowClass = w->classification;
|
||||
windowNumber = w->number;
|
||||
widget = &w->widgets[widgetIndex];
|
||||
}
|
||||
|
||||
window_close_by_id(WC_ERROR, 0);
|
||||
@@ -643,6 +642,8 @@ static void input_leftmousedown(int x, int y, rct_window *w, int widgetIndex)
|
||||
if (widgetIndex == -1)
|
||||
return;
|
||||
|
||||
widget = &w->widgets[widgetIndex];
|
||||
|
||||
switch (widget->type) {
|
||||
case WWT_FRAME:
|
||||
case WWT_RESIZE:
|
||||
|
||||
Reference in new issue
Block a user