comparison client/src/store/application.js @ 1282:a7dd8a3356fc

fixed contextBox animations
author Markus Kottlaender <markus@intevation.de>
date Thu, 22 Nov 2018 10:20:21 +0100
parents 76bc179c181f
children 99c039e86624
comparison
equal deleted inserted replaced
1278:8f4bf8576acd 1282:a7dd8a3356fc
27 showSearchbar: false, 27 showSearchbar: false,
28 showSearchbarLastState: false, 28 showSearchbarLastState: false,
29 showIdentify: false, 29 showIdentify: false,
30 showLayers: true, 30 showLayers: true,
31 showPdfTool: false, 31 showPdfTool: false,
32 showInContextBox: null, // bottlenecks, imports, staging 32 showContextBox: false,
33 contextBoxContent: null, // bottlenecks, imports, staging
33 expandToolbar: false, 34 expandToolbar: false,
34 countries: ["AT", "SK", "HU", "HR", "RS", "BiH", "BG", "RO", "UA"], 35 countries: ["AT", "SK", "HU", "HR", "RS", "BiH", "BG", "RO", "UA"],
35 searchQuery: "", 36 searchQuery: "",
36 version 37 version
37 }, 38 },
72 state.showLayers = show; 73 state.showLayers = show;
73 }, 74 },
74 showPdfTool: (state, show) => { 75 showPdfTool: (state, show) => {
75 state.showPdfTool = show; 76 state.showPdfTool = show;
76 }, 77 },
77 showInContextBox: (state, context) => { 78 showContextBox: (state, show) => {
78 state.showInContextBox = context; 79 state.showContextBox = show;
80 },
81 contextBoxContent: (state, context) => {
82 state.contextBoxContent = context;
79 if (context) { 83 if (context) {
80 state.showSearchbarLastState = state.showSearchbar; 84 state.showSearchbarLastState = state.showSearchbar;
81 } 85 }
82 }, 86 },
83 expandToolbar: (state, expandToolbar) => { 87 expandToolbar: (state, expandToolbar) => {