mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Changed data types of rgb
This commit is contained in:
parent
cdac62aae7
commit
ad0cbad663
1 changed files with 1 additions and 2 deletions
|
|
@ -50,8 +50,7 @@ class ProfileConfig:
|
|||
)
|
||||
|
||||
# Background color defined as (R, G, B, A) tuple.
|
||||
# Note: Use float for alpha channel (0.0 to 1.0).
|
||||
background_color: Tuple[float, float, float, float] = (0.0, 0.0, 0.0, 0.0)
|
||||
background_color: Tuple[int, int, int, float] = (0, 0, 0, 0.0)
|
||||
|
||||
@classmethod
|
||||
def from_dict(cls, data: Dict[str, Any]) -> "ProfileConfig":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue