-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made UIRect initialisation functions
const
(#16823)
# Objective Destructuring in const code blocks isn't allowed, thus using UIRect in const code can be a hassle as it initialisation function aren't const. This Pr makes them const. ## Solution Removed all destructuring in the UIRect implementation ## Testing - I've ran a few ui examples to check if i didn't make a mistake, ---
- Loading branch information
1 parent
ae52222
commit 8d8622d
Showing
1 changed file
with
28 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters