From 91e52cae127b54767834888c623bcd22c3e966e7 Mon Sep 17 00:00:00 2001 From: Alejandro Alvarez Melucci Date: Tue, 3 Jun 2025 00:10:28 -0300 Subject: [PATCH 1/3] Added z index property to ui transform --- proto/decentraland/sdk/components/ui_transform.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proto/decentraland/sdk/components/ui_transform.proto b/proto/decentraland/sdk/components/ui_transform.proto index f7c9de35..324de414 100644 --- a/proto/decentraland/sdk/components/ui_transform.proto +++ b/proto/decentraland/sdk/components/ui_transform.proto @@ -172,4 +172,6 @@ message PBUiTransform { optional decentraland.common.Color4 border_bottom_color = 70; optional decentraland.common.Color4 border_left_color = 71; optional decentraland.common.Color4 border_right_color = 72; + + optional int32 z_index = 73; // default 0 } From 38cfb9a0c502f306900bdbda3bf1765131d7987b Mon Sep 17 00:00:00 2001 From: Alejandro Alvarez Melucci <163010988+AlejandroAlvarezMelucciDCL@users.noreply.github.com> Date: Tue, 3 Jun 2025 10:56:39 -0300 Subject: [PATCH 2/3] Update property id As per protocol-squad's request, I updated the index to match their implementation Signed-off-by: Alejandro Alvarez Melucci <163010988+AlejandroAlvarezMelucciDCL@users.noreply.github.com> --- proto/decentraland/sdk/components/ui_transform.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/decentraland/sdk/components/ui_transform.proto b/proto/decentraland/sdk/components/ui_transform.proto index 324de414..8feddc12 100644 --- a/proto/decentraland/sdk/components/ui_transform.proto +++ b/proto/decentraland/sdk/components/ui_transform.proto @@ -173,5 +173,5 @@ message PBUiTransform { optional decentraland.common.Color4 border_left_color = 71; optional decentraland.common.Color4 border_right_color = 72; - optional int32 z_index = 73; // default 0 + optional int32 z_index = 77; // default 0 } From 481f54345f1a27628d54224e37815ef27d6865ae Mon Sep 17 00:00:00 2001 From: Alejandro Alvarez Melucci Date: Sat, 7 Jun 2025 13:03:51 -0300 Subject: [PATCH 3/3] Added opacity property --- proto/decentraland/sdk/components/ui_transform.proto | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proto/decentraland/sdk/components/ui_transform.proto b/proto/decentraland/sdk/components/ui_transform.proto index 8feddc12..0e3c9f0c 100644 --- a/proto/decentraland/sdk/components/ui_transform.proto +++ b/proto/decentraland/sdk/components/ui_transform.proto @@ -173,5 +173,6 @@ message PBUiTransform { optional decentraland.common.Color4 border_left_color = 71; optional decentraland.common.Color4 border_right_color = 72; - optional int32 z_index = 77; // default 0 + optional float opacity = 73; // default: 1 + optional int32 z_index = 77; // default: 0 — controls render stacking order. Higher values appear in front of lower values. }