mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-22 22:45:52 +00:00
A couple fixes to the CPCursor stuff
This commit is contained in:
1 parent
c36c750c5d
commit
e1d3363ad9
2 files changed
+4
-2
No files matched your search
@@ -43,6 +43,7 @@
|
||||
@import "CPCompatibility.j"
|
||||
@import "CPControl.j"
|
||||
@import "CPCookie.j"
|
||||
@import "CPCursor.j"
|
||||
@import "CPDocument.j"
|
||||
@import "CPDocumentController.j"
|
||||
@import "CPEvent.j"
|
||||
|
||||
+3
-2
@@ -54,8 +54,9 @@ var currentCursor = nil,
|
||||
if (!cursorURLFormat)
|
||||
{
|
||||
cursorURLFormat = @"url(" + [[CPBundle bundleForClass:self] resourcePath] + @"/CPCursor/%@.cur)";
|
||||
if CPBrowserIsEngine(CPGeckoBrowserEngine)
|
||||
cursorURLFormat+ = ", default";
|
||||
|
||||
if (CPBrowserIsEngine(CPGeckoBrowserEngine))
|
||||
cursorURLFormat += ", default";
|
||||
}
|
||||
|
||||
var url = [CPString stringWithFormat:cursorURLFormat, imageName];
|
||||
|
||||
Reference in new issue
Block a user