Skip to content

Commit

Permalink
fix: couldn't disable buffering_indicator due to incorrect ID (#809)
Browse files Browse the repository at this point in the history
The element id didn't match the id in the constructors table or the
description in the config. Consequently it was possible to disable the
indicator at startup, but once it was instantiated it wasn't possible to
remove it again.

Fixes #808
  • Loading branch information
christoph-heinrich committed Dec 7, 2023
1 parent 472cbb1 commit 79a77b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uosc/elements/BufferingIndicator.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local BufferingIndicator = class(Element)

function BufferingIndicator:new() return Class.new(self) --[[@as BufferingIndicator]] end
function BufferingIndicator:init()
Element.init(self, 'buffer_indicator', {ignores_curtain = true, render_order = 2})
Element.init(self, 'buffering_indicator', {ignores_curtain = true, render_order = 2})
self.enabled = false
self:decide_enabled()
end
Expand Down

0 comments on commit 79a77b1

Please sign in to comment.