love-console icon indicating copy to clipboard operation
love-console copied to clipboard

Changing width, height, x or y

Open pablomayobre opened this issue 11 years ago • 4 comments

There is a bug when you change the width, the height the x or y externally

console.x = 100
console.y = 200
console.w = 1000
console.h = 500

There are a variety of ways to fix this, that's why I'm not fixing this myself. One way would be to make them locals so that they are not visible outside of the file, but that is not very nice since you cant read them either. Other way would be to check if they have changed on console.update, or create methods like setPosition, getPosition, resize and getSize. I leave this to you

pablomayobre avatar Oct 18 '14 22:10 pablomayobre

Thanks mate, will have a look.

I must admit I am a bit away from love/lua dev these days... but maybe will come back :)

hamsterready avatar Oct 21 '14 08:10 hamsterready

No problem! Sure tell me if you need something or have some amazing ideas you want to make and I'll help

pablomayobre avatar Oct 21 '14 14:10 pablomayobre

@Positive07 if you like to work on this issue, would be great... I am on paternity leave :)

hamsterready avatar Nov 25 '14 10:11 hamsterready

Congratulations my friend! Enjoy the newborn :) I'll take a look at possibilities on how to solve this. See you around

pablomayobre avatar Nov 25 '14 15:11 pablomayobre