mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 07:15:51 +01:00
Click the button to reset the zoom level
This commit is contained in:
@@ -53,7 +53,10 @@ class ZoomComponent extends Component {
|
||||
zoomInEvent() {
|
||||
this.setZoomFactorAndSave(this.getCurrentZoom() + 0.1);
|
||||
}
|
||||
|
||||
zoomResetEvent() {
|
||||
this.setZoomFactorAndSave(1);
|
||||
}
|
||||
|
||||
setZoomFactorAndSaveEvent({zoomFactor}) {
|
||||
this.setZoomFactorAndSave(zoomFactor);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user