tablacus / TablacusExplorerAddons

Add-ons for Tablacus Explorer
http://tablacus.github.io/TablacusExplorerAddons/
MIT License
87 stars 12 forks source link

Window Alpha - Default value not set properly #374

Closed ccfs closed 5 months ago

ccfs commented 5 months ago

@ffbeso,

The add-on has a small problem. The default value is not set properly. Example:

(1) Enable the add-on the first time, WITHOUT going to its options page. 1

(2) The add-on works correctly (alpha = 230). 2

(3) Go to its options page. Current alpha value is NOT 230. 3

May I suggest you to refer to "Fire File Copy" add-on (or some others) for the way to set a numeric default value properly.

Thanks.

ffbeso commented 5 months ago

@ccfs, Thanks for the report. I was missing the initial value in the options settings. I've made a pull request for a modified version. https://github.com/tablacus/TablacusExplorerAddons/pull/375#issue-2216434704

ccfs commented 5 months ago

I tried the new version 1.01 with the above steps. Sorry, still a small problem.

At step (3), although the page showed 230, but after I clicked OK, "alpha" ended up 128.

(3) Options page 3

(4) After clicking OK, alpha value = 128 4

ffbeso commented 5 months ago

@ccfs, Thanks for checking. It is indeed incomplete. I had to set an initial value for the range input as well.

ccfs commented 5 months ago

New version 1.02 is OK. Thanks.