Skip to content

Conversation

qwepoizt
Copy link
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.

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

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
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