Skip to content

Commit

Permalink
[Scroll] bug fix.
Browse files Browse the repository at this point in the history
Noticed a small bug with [scroll] while checking on another issue.
  • Loading branch information
sysl-dev committed Jul 21, 2022
1 parent 5d79b46 commit 7a16d86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/library/slog-text.lua
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ function M:send(text, wrap_num, show_all)
self.table_string = {}
self.timer_pause = 0
self.timer_print = 0
self.scroll = 0
self.command_modifer = ""
self.current_character = 0
self.sound_every_counter = 1
Expand Down Expand Up @@ -546,7 +547,6 @@ function M:setDefaults()
love.graphics.setFont(self.default_font)
self.current_print_speed = self.default_print_speed
self.adjust_line_height = self.default_adjust_line_height
self.scroll = 0
-- Commands
for k, v in pairs(self.effect_flags) do
self.effect_flags[k] = false
Expand Down
2 changes: 1 addition & 1 deletion example/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Text.configure.add_text_sound(Audio.text.neue, 0.2)
-- There are nicer ways to do this, but it works as an example.
--[[-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------]]--
example = {
display_mode = 1,
display_mode = 9,
maxmodes = 9,
long_text_block = require('longtext'),
ex5_textboxsize = 64,
Expand Down

0 comments on commit 7a16d86

Please sign in to comment.