Skip to content

Fix ad volume slider mute state - #1217

Merged
Kiro705 merged 1 commit into
googleads:mainfrom
SimonAllen0901:fix-ad-volume-slider-muted-state
Jul 22, 2026
Merged

Fix ad volume slider mute state#1217
Kiro705 merged 1 commit into
googleads:mainfrom
SimonAllen0901:fix-ad-volume-slider-muted-state

Conversation

@SimonAllen0901

Copy link
Copy Markdown
Contributor

Fixes the ad volume slider mute state when dragging the slider to zero.

AdUi.prototype.changeVolume calculates the current slider percentage in the local percent variable, but the mute state check was using this.percent, which is not set.This caused the muted UI state to be based on an undefined property instead of the current slider value.

This appears to be a typo: changeVolume computes the current slider percentage in the local percent variable, but the mute state check reads this.percent instead.

@Kiro705 Kiro705 self-assigned this Jul 22, 2026
@Kiro705
Kiro705 merged commit ddd5b65 into googleads:main Jul 22, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants