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 <amr.bashir2015@gmail.com> Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * Update src/platform_impl/macos/window.rs Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com> Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * Update src/platform_impl/macos/window.rs Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com> Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * Update src/platform_impl/macos/window.rs Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com> Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * Update src/platform_impl/macos/window.rs Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com> Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * Update src/platform_impl/macos/window.rs Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com> Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * Update src/platform_impl/macos/window.rs Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com> Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * Update src/platform_impl/macos/window.rs Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com> Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * Delete macos_traffic_lights.rs Example not needed Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * Update window.rs Deleted outdated TODO Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * refactor: Replaced type of inset with LogicalSize + docs Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * fixes Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * revert accidental commit Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * add back example Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * 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 <amr.bashir2015@gmail.com> * 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 <amr.bashir2015@gmail.com> * 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 <amr.bashir2015@gmail.com> * delete comment Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com> Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * revert(macos): reverted accidental deletion of null check Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * refactor(macos): changed traffic light inset to LogicalPosition<f64> Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * refactor(macos): changed pulic api back to Position Also unified the api to always use inset instead of position Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * cleanup after rebase Signed-off-by: amrbashir <amr.bashir2015@gmail.com> * more cleanup * fix macos --------- Signed-off-by: amrbashir <amr.bashir2015@gmail.com> Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com> Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
- Loading branch information