mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-29 01:10:04 +02:00
zoom update
This commit is contained in:
parent
d7bb4064dc
commit
1ea23f7b32
3 changed files with 12 additions and 6 deletions
|
@ -439,9 +439,11 @@ var WindowSizeAlertWindow = ViewportAlert.extend({
|
|||
|
||||
var ZoomAlertWindow = ViewportAlert.extend({
|
||||
initialize: function(options) {
|
||||
if (!options || !options.level) { throw new Error('need level'); }
|
||||
|
||||
this.eventBatonName = 'zoomChange';
|
||||
this.markdowns = [
|
||||
'## That zoom level is not supported :-/',
|
||||
'## That zoom level of ' + options.level + ' is not supported :-/',
|
||||
'Please zoom back to a supported zoom level with Ctrl + and Ctrl -',
|
||||
'',
|
||||
'(and of course, pull requests to fix this are appreciated :D)'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue