1
0
mirror of https://github.com/MatMoul/quickdial-webext.git synced 2024-12-23 15:36:12 +00:00

Feature: Add stretch mode for back and folder icon

This commit is contained in:
MatMoul 2017-11-11 01:13:34 +01:00
parent 2aebed015f
commit f3285e790d

View File

@ -115,7 +115,7 @@ app.Settings.init = function(callback){ // Load settings and nodes
backIcon: 'url(/img/back.png)',
backIconMode: 3,
folderIcon: 'url(/img/folder.png)',
folderIconMode: 2,
folderIconMode: 0,
loadingIcon: 'url(/img/throbber.gif)',
cells: {
margin: 4,
@ -183,7 +183,7 @@ app.Settings.init = function(callback){ // Load settings and nodes
}
if(!data.settings.backgroundMode) data.settings.backgroundMode = 0;
if(!data.settings.grid.backIconMode) data.settings.grid.backIconMode = 3;
if(!data.settings.grid.folderIconMode) data.settings.grid.folderIconMode = 2;
if(!data.settings.grid.folderIconMode) data.settings.grid.folderIconMode = 0;
if(!data.settings.grid.cells.opacity) data.settings.grid.cells.opacity = 1;
if(!data.settings.grid.cells.opacityHover) data.settings.grid.cells.opacityHover = 1;
if(!data.settings.grid.cells.borderSize) data.settings.grid.cells.borderSize = 1;