updateDrawerRate method
Implementation
void updateDrawerRate(double rate) {
if (rate > limitPercent) {
rate = limitPercent;
}
drawerRate = rate;
update();
}
void updateDrawerRate(double rate) {
if (rate > limitPercent) {
rate = limitPercent;
}
drawerRate = rate;
update();
}