flamendless / Slab

An immediate mode GUI for the Love2D framework.
MIT License
286 stars 25 forks source link

exaple wan't start #142

Closed boris-741 closed 1 year ago

boris-741 commented 1 year ago

on launching the main.lua (copy of github) - I get an error: (v 1.0.0) love 11.4

Error

/Internal/UI/ComboBox.lua:86: selected must be of type string

Traceback

[love "callbacks.lua"]:228: in function 'handler' [C]: in function 'assert' /Internal/UI/ComboBox.lua:86: in function 'BeginComboBox' SlabTest.lua:2520: in function 'Begin' main.lua:37: in function 'update'

[C]: in function 'xpcall'

flamendless commented 1 year ago

Hi, thanks for reporting. What branch did you download?

boris-741 commented 1 year ago

current - 4807bbf love - 11.4

flamendless commented 1 year ago

Hi, what are the steps to reproduce this error? Launching the sample works fine for me

boris-741 commented 1 year ago
  1. clone the repository
  2. go to root folder
  3. launch mine.lua OS Windows 10

version 0.9 starts as expected

flamendless commented 1 year ago

Hi @boris-741 I have found out the issue, turns out you were using the v1.0.0 branch which is still in development phase, I thought you were using the main branch. It's already fixed in the latest commit :) Thank you

Do note that the v1.0.0 is very unstable at the moment, please use the main branch