Skip to content

Add feature to adjust fade easing (with Elektra)#2

Open
qwepoizt wants to merge 10 commits intoimprove-config/elektrifyfrom
feature/rwe-adjust-fade-easing
Open

Add feature to adjust fade easing (with Elektra)#2
qwepoizt wants to merge 10 commits intoimprove-config/elektrifyfrom
feature/rwe-adjust-fade-easing

Conversation

@qwepoizt
Copy link
Copy Markdown
Owner

@qwepoizt qwepoizt commented Sep 21, 2021

@markus2330: This is patch round 2 of a new configuration value "fade easing" in redshift with Elektra.

Reviewer instructions: I don't have any specific questions for this PR.

Comment thread src/options.c Outdated
ElektraEnumFadeEasing easingMode = elektraGetFadeEasing(elektra);
switch (easingMode) {
case ELEKTRA_ENUM_FADE_EASING_LINEAR:
options->easing_mode = EASING_MODE_LINEAR;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why didn't you directly use Elektra's enum?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was probably influenced by my "implementation without Elektra".

Thanks for the hint, I've refactored this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants