Skip to content
This repository has been archived by the owner on May 11, 2020. It is now read-only.

Commit

Permalink
ui: Moved tip menu upwards to prevent touching with health bar
Browse files Browse the repository at this point in the history
This commit is related with a problem discussed in issue #49
  • Loading branch information
Seniru committed Dec 25, 2019
1 parent 85567cf commit 27f80de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions game.lua
Original file line number Diff line number Diff line change
Expand Up @@ -527,10 +527,10 @@ function displayInventory(target)
end

function displayTips(target)
ui.addTextArea(800, tips[1], target, 6, 150, 120, 150, 0x324650, 0x000000, 1, true)
ui.addTextArea(801, "«", target, 10, 315, 10, 15, nil, nil, 1, true)
ui.addTextArea(802, "Page 1", target, 35, 315, 50, 15, nil, nil, 1, true)
ui.addTextArea(803, "<p align='center'><a href='event:page:tip:2'>»</a></p>", target, 100, 315, 15, 15, nil, nil, 1, true)
ui.addTextArea(800, tips[1], target, 6, 120, 120, 150, 0x324650, 0x000000, 1, true)
ui.addTextArea(801, "«", target, 10, 285, 10, 15, nil, nil, 1, true)
ui.addTextArea(802, "Page 1", target, 35, 285, 50, 15, nil, nil, 1, true)
ui.addTextArea(803, "<p align='center'><a href='event:page:tip:2'>»</a></p>", target, 100, 285, 15, 15, nil, nil, 1, true)
end

function displayProfile(name, target)
Expand Down

0 comments on commit 27f80de

Please sign in to comment.