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

Method decreaseMapDetailText

src/mapgui/mapdetailhandler.cpp:335–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335void MapDetailHandler::decreaseMapDetailText()
336{
337 int curLevel = getDetailLevelText();
338 if(curLevel > MapLayerSettings::MAP_MIN_DETAIL_LEVEL_TEXT)
339 {
340 sliderActionDetailLevelText->setSliderValue(curLevel - 1);
341 updateActions();
342 emit updateDetailLevel(getDetailLevel(), getDetailLevelText());
343 }
344}
345
346void MapDetailHandler::increaseMapDetail()
347{

Callers 1

wheelEventMethod · 0.80

Calls 1

setSliderValueMethod · 0.45

Tested by

no test coverage detected