File indexing completed on 2024-05-12 04:52:38

0001 // SPDX-FileCopyrightText: Till Theato <root@ttill.de>
0002 // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0003 
0004 var update = new Object();
0005 
0006 update["Edge mode"] = new Array(new Array(0.4, function(v, d) { return this.upd1(v, d); }));
0007 
0008 function upd1(value, isDowngrade) {
0009     if (isDowngrade) {
0010         if (value == 0.7)
0011             return 1.0;
0012     } else {
0013         if (value == 1.0)
0014             return 0.7;
0015     }
0016     return value;
0017 }