# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: C:\Users\Franz\Documents\NetBeansProjects\JOSM-Plugins\core\src\org\openstreetmap\josm\gui\layer
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
|
|
|
|
| 702 | 702 | } |
| 703 | 703 | |
| 704 | 704 | /** |
| 705 | | * Zoom out from map. |
| | 705 | * Check if zooming out is allowed |
| 706 | 706 | * |
| 707 | | * @return true, if zoom increasing was successfull, false othervise |
| | 707 | * @return true, if zooming out is allowed (currentZoomLevel > minZoomLevel) |
| 708 | 708 | */ |
| 709 | 709 | public boolean zoomDecreaseAllowed() { |
| 710 | 710 | return currentZoomLevel > this.getMinZoomLvl(); |
| 711 | 711 | } |
| 712 | 712 | |
| | 713 | /** |
| | 714 | * Zoom out from map. |
| | 715 | * |
| | 716 | * @return true, if zoom increasing was successfull, false othervise |
| | 717 | */ |
| 713 | 718 | public boolean decreaseZoomLevel() { |
| 714 | 719 | //int minZoom = this.getMinZoomLvl(); |
| 715 | 720 | if (zoomDecreaseAllowed()) { |