Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
T
Tukui
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Tukz
  • Tukui
  • Issues
  • #347

Closed
Open
Opened Oct 02, 2020 by SanUI@SanUIContributor

[Beta] Toolki API added on UI_SCALE_CHANGED

First, thanks for keeping tukui up!

I have a slight problem, I want to use CreateBackdrop as a substitute for SetTemplate. But the API metatable is only added on UI_SCALE_CHANGED, which means that I can't use that at loading time, even though my addon(s) load after Tukui. I could create all backdrops later by hooking into Toolkit:Enable, but that's a tad cumbersome, and doesn't feel right.

Could you enable the API earlier on? Say, at loading time? As far as I can tell, loading twice doesn't hurt either, so you might just add Tookit:Enable() to Toolkit.lua.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: Tukz/Tukui#347