mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-10 11:23:29 +00:00
this should be more correct
This commit is contained in:
@@ -799,7 +799,7 @@ void MwGetScreenSize(MwWidget handle, MwRect* rect) {
|
||||
}
|
||||
|
||||
int MwGetCoordinateType(MwWidget handle) {
|
||||
if(handle->parent == NULL) {
|
||||
if(handle->parent == NULL || handle->parent->lowlevel == NULL) {
|
||||
return handle->lowlevel->common.coordinate_type;
|
||||
} else {
|
||||
return MwCoordinatesLocal;
|
||||
|
||||
Reference in New Issue
Block a user