Skip to content

Conversation

@togfoxy
Copy link

@togfoxy togfoxy commented Sep 24, 2022

I wanted to use lovely toasts inside my game tutorial trainer and this means displaying toasts at all x/y co-ordinates so here we go.

Can invoke by providing optional x/y co-ordinates when invoking toasts:

lovelyToasts.show("Hold on!",nil ,nil , 500, 500)

lovelyToasts.show(stringvalue, [duration],[position],[x],[y])

Backwards compatible. X/Y values will ignore position values.

@togfoxy
Copy link
Author

togfoxy commented Sep 24, 2022

Removed a print statement that shouldn't be there.

@togfoxy
Copy link
Author

togfoxy commented Sep 24, 2022

Updated instructions on how to invoke the optional x/y positioning.

@togfoxy
Copy link
Author

togfoxy commented Sep 25, 2022

Formatted the readme correctly

@togfoxy
Copy link
Author

togfoxy commented Sep 25, 2022

I realised the styles weren't documented. Now they are. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant