Lokasenna_GUI icon indicating copy to clipboard operation
Lokasenna_GUI copied to clipboard

Update Class - Slider.lua

Open mespotine opened this issue 4 years ago • 1 comments

localized internal variable _

I don't think, it had a negative impact, but nevertheless, I localized it, to be safe.

mespotine avatar Jun 23 '20 22:06 mespotine

I just tried in the Lua command line and I think the _ = is actually unnecessary for performing a conditional operation like this - those might all be able to just do:

self.horz and gfx.circle(min, y + (h / 2), h / 2 - 1, 1, 1)
          or  gfx.circle(y + (h / 2), min, h / 2 - 1, 1, 1)

jalovatt avatar Jun 24 '20 01:06 jalovatt