feat: add rotate gesture for macOS (#19294)
* feat: add rotate gesture for macOS
* docs: document change
* refactor: rename 'rotate' -> 'rotate-gesture'
* refactor: const float -> float
* forgot one 🤦♂️
This commit is contained in:
parent
2e3d757f46
commit
2c383b51c1
7 changed files with 29 additions and 0 deletions
|
@ -513,6 +513,11 @@ void NativeWindow::NotifyWindowSwipe(const std::string& direction) {
|
|||
observer.OnWindowSwipe(direction);
|
||||
}
|
||||
|
||||
void NativeWindow::NotifyWindowRotateGesture(float rotation) {
|
||||
for (NativeWindowObserver& observer : observers_)
|
||||
observer.OnWindowRotateGesture(rotation);
|
||||
}
|
||||
|
||||
void NativeWindow::NotifyWindowSheetBegin() {
|
||||
for (NativeWindowObserver& observer : observers_)
|
||||
observer.OnWindowSheetBegin();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue