Update plugins.py

This commit is contained in:
Vishal 2023-06-10 09:11:58 +05:30 committed by GitHub
parent 4b9de1fa1f
commit db1577aef8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -338,7 +338,9 @@ class PluginWindow(bui.Window):
self._check_value_changed, availplug
),
textcolor=(
(0.8, 0.3, 0.3) if not availplug.available else (0, 1, 0)
(0.8, 0.3, 0.3) if not availplug.available else
(0, 1, 0) if active else
(0.6, 0.6, 0.6)
),
)
if plugin is not None and plugin.has_settings_ui():