Guest User

Untitled

a guest
May 23rd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. CPLog.warn("Current cursor instance: " + [CPCursor currentCursor]) <-- this is the default cursor
  2. [[CPCursor currentCursor] push];
  3. [[CPCursor openHandCursor] set];
  4. CPLog.warn("Current cursor instance: " + [CPCursor currentCursor])
  5. [[CPCursor currentCursor] push];
  6. [[CPCursor closedHandCursor] set];
  7. CPLog.warn("Current cursor instance: " + [CPCursor currentCursor])
  8. [[CPCursor currentCursor] pop];
  9. [[CPCursor currentCursor] set];
  10. CPLog.warn("Current cursor instance: " + [CPCursor currentCursor]) <-- would have expected instance of openHandCursor, but getting default cursor instead
Add Comment
Please, Sign In to add comment