mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-28 10:58:51 +00:00
Remove the cursor hack from CPImageAndTextView, set the cursor globally to the default in CPApplication
This commit is contained in:
1 parent
e1d3363ad9
commit
dfb7599bb6
2 files changed
+5
-2
No files matched your search
@@ -259,6 +259,9 @@ CPRunContinuesResponse = -1002;
|
||||
// We do it here so that applications can change it in willFinish or didFinishLaunching
|
||||
window.status = " ";
|
||||
|
||||
// We also want to set the default cursor on the body, so that buttons and things don't have an iBeam
|
||||
[[CPCursor arrowCursor] set];
|
||||
|
||||
var bundle = [CPBundle mainBundle],
|
||||
types = [bundle objectForInfoDictionaryKey:@"CPBundleDocumentTypes"];
|
||||
|
||||
|
||||
@@ -340,7 +340,7 @@ var HORIZONTAL_MARGIN = 3.0,
|
||||
|
||||
textStyle.position = "absolute";
|
||||
textStyle.whiteSpace = "pre";
|
||||
textStyle.cursor = "default";
|
||||
//textStyle.cursor = "default";
|
||||
textStyle.zIndex = 200;
|
||||
textStyle.overflow = "hidden";
|
||||
|
||||
@@ -376,7 +376,7 @@ var HORIZONTAL_MARGIN = 3.0,
|
||||
shadowStyle.font = [_font ? _font : [CPFont systemFontOfSize:12.0] cssString];
|
||||
shadowStyle.position = "absolute";
|
||||
shadowStyle.whiteSpace = textStyle.whiteSpace;
|
||||
shadowStyle.cursor = "default";
|
||||
//shadowStyle.cursor = "default";
|
||||
shadowStyle.zIndex = 150;
|
||||
shadowStyle.textOverflow = textStyle.textOverflow;
|
||||
|
||||
|
||||
Reference in new issue
Block a user