EXAMPLES: Format tweaks
This commit is contained in:
parent
9f07cfe0b7
commit
f0889a74fe
1 changed files with 409 additions and 397 deletions
|
|
@ -65,7 +65,7 @@ int main(void)
|
|||
// Check minimum rec size
|
||||
if (rec.width < MOUSE_SCALE_MARK_SIZE) rec.width = MOUSE_SCALE_MARK_SIZE;
|
||||
if (rec.height < MOUSE_SCALE_MARK_SIZE) rec.height = MOUSE_SCALE_MARK_SIZE;
|
||||
|
||||
|
||||
// Check maximum rec size
|
||||
if (rec.width > (GetScreenWidth() - rec.x)) rec.width = GetScreenWidth() - rec.x;
|
||||
if (rec.height > (GetScreenHeight() - rec.y)) rec.height = GetScreenHeight() - rec.y;
|
||||
|
|
|
|||
Loading…
Reference in a new issue