c8dc2d3730
The new `will-resize` event can be used to prevent the resize from happening before the native window is actually resized. This is in contrast to the existing the `resize` event, which is sent *after* the native window has already been resized. For apps with e.g. custom window snapping logic, the `resize` event is not sufficient because it will result in flickering between the dragged size and the snapped size. `will-resize` is only emitted on macOS and Windows. |
||
---|---|---|
.. | ||
atom_bundle_mover.h | ||
atom_bundle_mover.mm | ||
atom_menu_controller.h | ||
atom_menu_controller.mm | ||
atom_native_widget_mac.h | ||
atom_native_widget_mac.mm | ||
atom_ns_window.h | ||
atom_ns_window.mm | ||
atom_ns_window_delegate.h | ||
atom_ns_window_delegate.mm | ||
atom_preview_item.h | ||
atom_preview_item.mm | ||
atom_touch_bar.h | ||
atom_touch_bar.mm | ||
delayed_native_view_host.cc | ||
delayed_native_view_host.h | ||
NSColor+Hex.h | ||
NSColor+Hex.mm | ||
NSString+ANSI.h | ||
NSString+ANSI.mm | ||
root_view_mac.h | ||
root_view_mac.mm | ||
touch_bar_forward_declarations.h | ||
views_delegate_mac.h | ||
views_delegate_mac.mm |