mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-10 09:12:39 +00:00
add comment
This commit is contained in:
@@ -71,6 +71,7 @@ const ToolBar = ({ onZoomChange, visiblePages, totalPages })=>{
|
|||||||
return deltaZoom;
|
return deltaZoom;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// format the visible pages to work with ranges, including separate ranges ("2-7, 10-15")
|
||||||
const formatVisiblePages = (pages)=>{
|
const formatVisiblePages = (pages)=>{
|
||||||
if(pages.length === 0) return '';
|
if(pages.length === 0) return '';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user