Move PaperSystem to Shared (#30592)
* Fix paper system late localization * IS THIS WHAT YOU WANT * well I guess this is happening now * fix the BUI * did that even do anything before? * again with the escapeformatting... * Dirtying * Move dirty to function * Rename PaperSystem to PaperVisualizerSystem * Fix namespace * how many namespace changes must I suffer through * SetContent is for Setting Content * minor shuffling * review --------- Co-authored-by: plykiya <plykiya@protonmail.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -215,9 +215,9 @@ namespace Content.Client.Paper.UI
|
||||
/// Initialize the paper contents, i.e. the text typed by the
|
||||
/// user and any stamps that have peen put on the page.
|
||||
/// </summary>
|
||||
public void Populate(SharedPaperComponent.PaperBoundUserInterfaceState state)
|
||||
public void Populate(PaperComponent.PaperBoundUserInterfaceState state)
|
||||
{
|
||||
bool isEditing = state.Mode == SharedPaperComponent.PaperAction.Write;
|
||||
bool isEditing = state.Mode == PaperComponent.PaperAction.Write;
|
||||
bool wasEditing = InputContainer.Visible;
|
||||
InputContainer.Visible = isEditing;
|
||||
EditButtons.Visible = isEditing;
|
||||
|
||||
Reference in New Issue
Block a user