cambio opacity x rect plus/minus
This commit is contained in:
@@ -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()" />
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user