Skip to content

When using a dropdown to select themes, the highlight on the selected option is the previous theme #46

@callienew

Description

@callienew
Image

This might happen with buttons too, but I havent tested

Here's the code that recreates it

local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()

local Window = Rayfield:CreateWindow({
    Name = "Test",
    Theme = "Default"
})

local Tab = Window:CreateTab("Test")

Tab:CreateDropdown({
    Name = "Theme",
    Options = {"Default", "AmberGlow", "Amethyst", "Bloom", "DarkBlue", "Green", "Light", "Ocean", "Serenity"},
    CurrentOption = {"Default"},
    Flag = "ThemeDropdown",
    Callback = function(option)
        Window.ModifyTheme(option[1])
    end
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions