cambio opacity x rect plus/minus

This commit is contained in:
Samuele Locatelli
2023-05-16 20:54:29 +02:00
parent fe475c1910
commit 3e6c76aec5
@@ -29,12 +29,12 @@
<image x="@(CircleImg.rad/2)" y="0" href="@ImagePath" width="@CircleImg.rad" height="100%"></image>
@if (ShowPlusMinus)
{
<rect x="0" y="0" width="100%" height="50%" fill="@PlusColor" style="opacity: 50%;" @onclick="()=>execPlus()" />
<rect x="0" y="@(ObjH/2)" width="100%" height="50%" fill="@MinusColor" style="opacity: 50%;" @onclick="()=>execMinus()" />
<rect x="0" y="0" width="100%" height="50%" fill="@PlusColor" style="opacity: 20%;" @onclick="()=>execPlus()" />
<rect x="0" y="@(ObjH/2)" width="100%" height="50%" fill="@MinusColor" style="opacity: 20%;" @onclick="()=>execMinus()" />
}
else if (ShowClone)
{
<rect x="0" y="@(ObjH/2)" width="100%" height="100%" fill="blue" style="opacity: 50%;" @onclick="()=>execClone()" />
<rect x="0" y="@(ObjH/2)" width="100%" height="100%" fill="blue" style="opacity: 20%;" @onclick="()=>execClone()" />
}