Giter Club home page Giter Club logo

Comments (8)

RamonUnch avatar RamonUnch commented on July 20, 2024 1

There is no way for the moment indeed for the moment but it should not be hard.

from altsnap.

RamonUnch avatar RamonUnch commented on July 20, 2024 1

Ok actually this was so trivial that it is already there.
hooks.zip

Just add AlphaDelta=value between 1-255 (default 8) in the [Advanced] section of ini file
This is the step with shift. Without shift the steps are 8 time larger hence 64 by default.
In your case try 4 and maybe even lower?
It is true that the steps are maybe a bit too large by default.

from altsnap.

RamonUnch avatar RamonUnch commented on July 20, 2024 1

Yes the value is clamped in the 1-255 range.
I do not know, why you would put 0 maybe to allow only the case where Shift is pressed?
Given that there is no harm to put 0 I will let the user do it.

from altsnap.

redactedscribe avatar redactedscribe commented on July 20, 2024

I was hoping for control over both values. Why? When the stepping is too small, the non-Shift stepping becomes tiresome to scroll up and down. But a small stepping for Shift is convenient for making windows only slightly transparent so the window behind isn't as distracting (this is what I meant when I said default stepping: I cannot make a small enough step, but I personally was fine with the large stepping value). Of course, this may be asking for too much.

In the approach you've already taken, I guess the solution to what I'm asking for is also control over the multiplier value 8x. I could set this then to 16x when using 4 for AlphaDelta.

The hook works. It just didn't entirely solve what I was looking for.

from altsnap.

RamonUnch avatar RamonUnch commented on July 20, 2024

hooks.zip
Simpler to have both values as you say, so if someone wants to invert shift behaviour or something.
now use in [Advanced]
AlphaDelta=64
AlphaDeltaShift=8
You want to modify the AlphaDeltaShift in your case.

from altsnap.

redactedscribe avatar redactedscribe commented on July 20, 2024

Something seems wrong. I'm not sure it works as intended.

My bad. For some reason I had placed it in [Performance].

from altsnap.

redactedscribe avatar redactedscribe commented on July 20, 2024

AlphaDelta=0 & AlphaDeltaShift=0 both still de-/increase transparency, when they should likely do nothing I guess? Actually, It's probably better if 0 is set that it is interpreted as 1 (which I think is what is happening?). If someone wants to disable this feature, it should be done via the UI / whatever .ini setting controls the mouse action being assigned to transparency. But perhaps there's good reason for making 0 make it do nothing?

from altsnap.

redactedscribe avatar redactedscribe commented on July 20, 2024

It works as expect as far as I can tell.

Thank you 🙂

from altsnap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.