Skip to content

Commit e27bc70

Browse files
committed
fix: AE 2025 compatibility
1 parent d998811 commit e27bc70

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

DuIO.jsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10010,8 +10010,7 @@ DuAEF.DuJS.Color = {};
1001010010

1001110011
// Init colors
1001210012
(function() {
10013-
var aeColor = app.themeColor( 78 );
10014-
aeColor.push(1);
10013+
var aeColor = [0.1372,0.1372,0.1372,1];
1001510014
/**
1001610015
* Enum for predefined colors.
1001710016
* @readonly
@@ -12857,7 +12856,7 @@ DuAEF.DuScriptUI.adjustColor = function( color )
1285712856
if ( !DuAEF.DuJS.Color.validateColor(color, true) ) return color;
1285812857
if (color.length == 3) color.push(1);
1285912858
//gets the main application color
12860-
var q = app.themeColor( 78 )[ 0 ];
12859+
var q = 0.1372;
1286112860
//the darkest one is 0.15000000596046
1286212861
q = q - 0.15000000596046;
1286312862
var newColor = color + [ q, q, q, 0 ];
@@ -39609,7 +39608,7 @@ DuAEF.OCA.import = function (file)
3960939608
}
3961039609

3961139610
ocaComp.openInViewer();
39612-
} DuAEF.init("DuIO","2.1.0");
39611+
} DuAEF.init("DuIO","2.1.1");
3961339612
DuAEF.chatURL = 'http://chat.rxlab.info';
3961439613
DuAEF.bugReportURL = 'https://github.com/RxLaboratory/DuAEF_DuIO/issues/new/choose';
3961539614
DuAEF.featureRequestURL = 'https://github.com/RxLaboratory/DuAEF_DuIO/issues/new/choose';

0 commit comments

Comments
 (0)