MCPcopy Create free account
hub / github.com/albar965/littlenavmap / decreaseMapDetail

Method decreaseMapDetail

src/mapgui/mapdetailhandler.cpp:357–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357void MapDetailHandler::decreaseMapDetail()
358{
359 int curLevel = getDetailLevel();
360 if(curLevel > MapLayerSettings::MAP_MIN_DETAIL_LEVEL)
361 {
362 sliderActionDetailLevel->setSliderValue(curLevel - 1);
363 updateActions();
364 emit updateDetailLevel(getDetailLevel(), getDetailLevelText());
365 }
366}

Callers 1

wheelEventMethod · 0.80

Calls 1

setSliderValueMethod · 0.45

Tested by

no test coverage detected