Since I updated to the latest version, some portions of the code no longer work correctly
In this specific case I have problems with changing the mouse cursor.
I made sure, based on where you were, the mouse cursor changed. The code is this
Code: Select all
init 1 python:
def change_cursor(type="default"):
persistent.mouse = type
if type == "default":
setattr(config, "mouse", None)
elif type == "1":
setattr(config, "mouse", {"default": [("images/spray_ruo.png", 0, 0)]})
if not hasattr(persistent, "mouse"):
change_cursor()
else:
change_cursor(persistent.mouse)
label start:
$ change_cursor()
"Now I modify the slider"
$ change_cursor("1")
"Now I reset it normally"
$ change_cursor()
Or do you know of an alternative method to achieve this?