mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-01 02:42:03 +00:00
CPCursor will now look in the theme to get system cursors
This commit is contained in:
1 parent
35e29a0615
commit
844ed59dd8
1 file changed
+5
-1
+5
-1
@@ -159,7 +159,11 @@ var currentCursor = nil,
|
||||
var cssString;
|
||||
|
||||
if (doesHaveImage)
|
||||
cssString = [CPString stringWithFormat:@"url(%@/CPCursor/%@.cur), %@", [[CPBundle bundleForClass:self] resourcePath], cursorName, aString];
|
||||
{
|
||||
var themeResourcePath = [[CPApp themeBlend]._bundle resourcePath];
|
||||
cssString = [CPString stringWithFormat:@"url(%@/cursors/%@.cur), %@", themeResourcePath, cursorName, aString];
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
// IE <= 8 does not support some cursors, map them to supported cursors
|
||||
|
||||
Reference in new issue
Block a user