Skip to content

Commit 721360d

Browse files
initialise 'MouseMotionEvent' completely ("missing-field-initializers")
1 parent 53f7410 commit 721360d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/pango_windowing/src/PangolinNSGLView.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ - (void)otherMouseDragged: (NSEvent *)event
263263
- (void)mouseMoved: (NSEvent *)event
264264
{
265265
const NSPoint location = [self _Location: event];
266-
osx_window->PassiveMouseMotionSignal(pangolin::MouseMotionEvent({{(float)location.x, (float)location.y}}));
266+
osx_window->PassiveMouseMotionSignal(pangolin::MouseMotionEvent({{(float)location.x, (float)location.y, {}}}));
267267
}
268268

269269
- (void)scrollWheel:(NSEvent *)event

0 commit comments

Comments
 (0)