mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-14 01:32:29 -04:00
animations/ripple: clean up effect and apply more universally
This commit is contained in:
@@ -71,6 +71,7 @@ BasePill {
|
||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||
enabled: !DMSNetworkService.isBusy
|
||||
onPressed: event => {
|
||||
root.triggerRipple(this, event.x, event.y);
|
||||
switch (event.button) {
|
||||
case Qt.RightButton:
|
||||
DMSNetworkService.toggleVpn();
|
||||
|
||||
Reference in New Issue
Block a user