mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 00:18:56 +02:00
zoom update
This commit is contained in:
parent
d7bb4064dc
commit
1ea23f7b32
3 changed files with 12 additions and 6 deletions
|
@ -80,7 +80,7 @@ var init = function() {
|
|||
if (level > Constants.VIEWPORT.maxZoom ||
|
||||
level < Constants.VIEWPORT.minZoom) {
|
||||
var Views = require('../views');
|
||||
var view = new Views.ZoomAlertWindow();
|
||||
var view = new Views.ZoomAlertWindow({level: level});
|
||||
}
|
||||
});
|
||||
eventBaton.stealBaton('windowSizeCheck', function(size) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue