Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* new example * feat(macos): Fixed the traffic light example Traffic lights get refreshed. Still artifacts visible * feat(macos): Implemented and exposed a traffic light reposition method for Builder and Window * fix(macos): fixed the issue with the artifact on resize * Update src/platform_impl/macos/window.rs Co-authored-by: Amr Bashir <[email protected]> Signed-off-by: amrbashir <[email protected]> * Update src/platform_impl/macos/window.rs Co-authored-by: Amr Bashir <[email protected]> Signed-off-by: amrbashir <[email protected]> * Update src/platform_impl/macos/window.rs Co-authored-by: Amr Bashir <[email protected]> Signed-off-by: amrbashir <[email protected]> * Update src/platform_impl/macos/window.rs Co-authored-by: Amr Bashir <[email protected]> Signed-off-by: amrbashir <[email protected]> * Update src/platform_impl/macos/window.rs Co-authored-by: Amr Bashir <[email protected]> Signed-off-by: amrbashir <[email protected]> * Update src/platform_impl/macos/window.rs Co-authored-by: Amr Bashir <[email protected]> Signed-off-by: amrbashir <[email protected]> * Update src/platform_impl/macos/window.rs Co-authored-by: Amr Bashir <[email protected]> Signed-off-by: amrbashir <[email protected]> * Update src/platform_impl/macos/window.rs Co-authored-by: Amr Bashir <[email protected]> Signed-off-by: amrbashir <[email protected]> * Delete macos_traffic_lights.rs Example not needed Signed-off-by: amrbashir <[email protected]> * Update window.rs Deleted outdated TODO Signed-off-by: amrbashir <[email protected]> * refactor: Replaced type of inset with LogicalSize + docs Signed-off-by: amrbashir <[email protected]> * fixes Signed-off-by: amrbashir <[email protected]> * revert accidental commit Signed-off-by: amrbashir <[email protected]> * add back example Signed-off-by: amrbashir <[email protected]> * fix(macos): traffic light offset now works as expected The set_traffic_light_offset() method on window was removed and only the builder function now has to be called to set the offset. No more manual event handling is needed. Signed-off-by: amrbashir <[email protected]> * refactor(macos): removed the traffic light example the example is no longer needed as the api design is now clear and only one method call is needed to set the inset Signed-off-by: amrbashir <[email protected]> * feat(macos): added set_traffic_light_position back in the set_traffic_light_position on window will now work as expected. I.e. only one call is necessary Signed-off-by: amrbashir <[email protected]> * delete comment Co-authored-by: Amr Bashir <[email protected]> Signed-off-by: amrbashir <[email protected]> * revert(macos): reverted accidental deletion of null check Signed-off-by: amrbashir <[email protected]> * refactor(macos): changed traffic light inset to LogicalPosition<f64> Signed-off-by: amrbashir <[email protected]> * refactor(macos): changed pulic api back to Position Also unified the api to always use inset instead of position Signed-off-by: amrbashir <[email protected]> * cleanup after rebase Signed-off-by: amrbashir <[email protected]> * more cleanup * fix macos --------- Signed-off-by: amrbashir <[email protected]> Co-authored-by: Amr Bashir <[email protected]> Co-authored-by: Jonas Kruckenberg <[email protected]>
- Loading branch information