v3.1.0: improved clarity on note limit text

This commit is contained in:
Evan Debenham
2025-04-20 19:45:38 -04:00
parent 5e00373da7
commit 487d0c7fe7
2 changed files with 7 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
ui.customnotebutton.title=Add a Custom Note
ui.customnotebutton.limit_title=Note Limit Reached
ui.customnotebutton.limit_text=You can delete existing notes to make room for more.
ui.customnotebutton.limit_text=You can delete existing notes to make room for more. All of your current custom notes can be viewed from the journal window.
ui.customnotebutton.desc=Custom Notes let you record anything you'd like in the journal.\n\nThey can be just text on its own, or they can be associated with a dungeon floor, one of your items, or a type of potion/scroll/ring.
ui.customnotebutton.new_text=New Text Note
ui.customnotebutton.new_text_title=Write a title for this custom text note:

View File

@@ -115,7 +115,12 @@ public class WndInfoItem extends Window {
info.maxWidth(width);
}
title.setRect( 0, 0, width, 0 );
//leaves some space to add the journal button in WndUseItem. This is messy I know.
if (this instanceof WndUseItem){
title.setRect( 0, 0, width-16, 0 );
} else {
title.setRect( 0, 0, width, 0 );
}
add( title );
info.setPos(title.left(), title.bottom() + GAP);