mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-25 02:23:07 +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) {
|
int MwGetCoordinateType(MwWidget handle) {
|
||||||
if(handle->parent == NULL) {
|
if(handle->parent == NULL || handle->parent->lowlevel == NULL) {
|
||||||
return handle->lowlevel->common.coordinate_type;
|
return handle->lowlevel->common.coordinate_type;
|
||||||
} else {
|
} else {
|
||||||
return MwCoordinatesLocal;
|
return MwCoordinatesLocal;
|
||||||
|
|||||||
Reference in New Issue
Block a user