Skip to content

Conversation

@Ketho
Copy link
Contributor

@Ketho Ketho commented Aug 12, 2016

Updates the FCT events when changing the "Scrolling Combat Text for Self" options, otherwise a /reload or relog would be required for the changes to show up

basicOptions.lua Outdated
info.func = function(self)
addon:SetCVar("floatingCombatTextFloatMode", self.value)
UIDropDownMenu_SetSelectedValue(dropdown, self.value)
if not InCombatLockdown() then
Copy link
Owner

Choose a reason for hiding this comment

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

Is InCombatLockdown() needed here? We already close the options when combat starts and they can't be opened in combat anyway.

Copy link
Contributor Author

@Ketho Ketho Aug 12, 2016

Choose a reason for hiding this comment

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

Ow, I still managed to keep the options window open somehow, but removed that unneeded conditional now

@Stanzilla Stanzilla merged commit a6d5e0e into Stanzilla:master Aug 12, 2016
@Stanzilla
Copy link
Owner

Thank you!

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