Page MenuHomeWildfire Games

[CSlider] On click move the slider-button to the mouse position
Needs ReviewPublic

Authored by Imarok on Sep 1 2018, 11:13 AM.

Details

Reviewers
vladislavbelov
Trac Tickets
#2593
Summary

If the user clicks somewhere on the slider, the slider-button immediately moves to the mouse position. This allows changing slider values faster.

Test Plan

Open Settings and click on some slider.

Diff Detail

Repository
rP 0 A.D. Public Repository
Branch
/ps/trunk
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 6351
Build 10535: Vulcan BuildJenkins
Build 10534: arc lint + arc unit

Event Timeline

Imarok created this revision.Sep 1 2018, 11:13 AM
Vulcan added a subscriber: Vulcan.Sep 1 2018, 11:14 AM

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/differential/725/display/redirect

Vulcan added a comment.Sep 2 2018, 8:44 PM

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/differential/729/display/redirect