Merge pull request #340 from amnezia-vpn/bugfix/add_hover_in_home_page

added  hover effect for default-server in pagehome
This commit is contained in:
Nethius 2023-09-28 20:55:57 +03:00 committed by GitHub
commit 0322c01c0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 157 additions and 62 deletions

View file

@ -15,8 +15,11 @@ Button {
property string imageColor: "#878B91"
property string disableImageColor: "#2C2D30"
implicitWidth: 40
implicitHeight: 40
property int backGroudRadius: 12
property int implicitSize: 40
implicitWidth: implicitSize
implicitHeight: implicitSize
hoverEnabled: true
@ -31,7 +34,7 @@ Button {
id: background
anchors.fill: parent
radius: 12
radius: backGroudRadius
color: {
if (root.enabled) {
if(root.pressed) {