mirror of
https://github.com/zotero/zotero.git
synced 2026-10-09 03:18:01 +00:00
Reposition annotations on text zoom change
This commit is contained in:
parent
6a96516391
commit
f28ec470c9
1 changed files with 7 additions and 0 deletions
|
|
@ -243,6 +243,13 @@ var Zotero_Browser = new function() {
|
|||
function(e) { Zotero_Browser.contentHide(e) }, true);
|
||||
this.tabbrowser.addEventListener("resize",
|
||||
function(e) { Zotero_Browser.resize(e) }, false);
|
||||
// for text zoom changes
|
||||
document.getElementById('cmd_textZoomReduce').addEventListener("command",
|
||||
function(e) { Zotero_Browser.resize(e) }, false);
|
||||
document.getElementById('cmd_textZoomEnlarge').addEventListener("command",
|
||||
function(e) { Zotero_Browser.resize(e) }, false);
|
||||
document.getElementById('cmd_textZoomReset').addEventListener("command",
|
||||
function(e) { Zotero_Browser.resize(e) }, false);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue