Update management.py

This commit is contained in:
Fang 2025-02-22 19:22:34 +05:30 committed by GitHub
parent 88129dc7a8
commit f644d6aabc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -385,13 +385,13 @@ def nv(arguments):
def tint(arguments):
print(len(arguments))
if len(arguments) == 3:
args = arguments
r, g, b = float(args[0]), float(args[1]), float(args[2])
try:
# print(dir(activity.globalsnode))
print(r, g, b)
activity = bs.get_foreground_host_activity()
activity.globalsnode.tint = (r, g, b)
except: