Make SkNSView's window accept mouseMoved events

TBR=reed@google.com

Review URL: https://codereview.chromium.org/1206563003
This commit is contained in:
bsalomon 2015-06-23 14:03:47 -07:00 committed by Commit bot
parent c53085413e
commit 841959122c

View File

@ -58,6 +58,7 @@ SK_COMPILE_ASSERT(SK_SUPPORT_GPU, not_implemented_for_non_gpu_build);
#endif
fWind->resize((int) size.width, (int) size.height,
kN32_SkColorType);
[[self window] setAcceptsMouseMovedEvents:YES];
}
}