• R/O
  • SSH
  • HTTPS

alchemusica: コミット


コミットメタ情報

リビジョン149 (tree)
日時2017-12-17 17:41:14
作者toshinagata1964

ログメッセージ

The mouse cursor is shown correctly when it is on the splitter bar of the graphic view

変更サマリ

差分

--- trunk/Classes/GraphicSplitterView.m (revision 148)
+++ trunk/Classes/GraphicSplitterView.m (revision 149)
@@ -182,7 +182,13 @@
182182
183183 - (void)doMouseMoved:(NSEvent *)theEvent
184184 {
185- [[NSCursor verticalMoveCursor] set];
185+ NSPoint pt = [self convertPoint:[theEvent locationInWindow] fromView:nil];
186+ if ((NSPointInRect(pt, [kindPopup frame]) && [kindPopup isEnabled])
187+ || (NSPointInRect(pt, [trackPopup frame]) && [trackPopup isEnabled])
188+ || (NSPointInRect(pt, [codePopup frame]) && [codePopup isEnabled]))
189+ [[NSCursor arrowCursor] set];
190+ else
191+ [[NSCursor verticalMoveCursor] set];
186192 }
187193
188194 - (void)createSubmenus
旧リポジトリブラウザで表示