Changeset 102636 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Dec 18, 2023 3:14:38 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/UIAdvancedSettingsDialog.cpp
r102633 r102636 628 628 629 629 /* Calculate walking ratio: */ 630 const float dRatio = (double)iShift / iScrollBarLength;630 const float dRatio = iScrollBarLength > 0 ? (double)iShift / iScrollBarLength : 0; 631 631 m_pAnimation->setDuration(dRatio * 500 /* 500ms is the max */); 632 632 m_pAnimation->setStartValue(iStartPosition);
Note:
See TracChangeset
for help on using the changeset viewer.