Fix being unable to set ui.Container colour to black

This commit is contained in:
Soheab authored and GitHub committed 2026-07-08 16:15:59 -04:00
1 parent 7057cb10c0
commit 0481f62cca
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -243,7 +243,7 @@ class Container(Item[V]):
components = self.to_components()
colour = None
if self._colour:
if self._colour is not None:
colour = self._colour if isinstance(self._colour, int) else self._colour.value
base = {