Skip to content

Commit

Permalink
Updates paper signature text size (shiptest-ss13#2827)
Browse files Browse the repository at this point in the history
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request
it updates the pixel size of signatures used in paper

![imagen](https://github.com/shiptest-ss13/Shiptest/assets/75212565/95ac90ae-2b62-4cae-9845-70c750b7c629)

![imagen](https://github.com/shiptest-ss13/Shiptest/assets/75212565/ede0e93e-7b21-410b-ab7e-fc92233cf57b)


<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

## Why It's Good For The Game
they are barely readable otherwise

<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->

## Changelog

:cl:
tweak: Modified the pixel size of signatures in paper to 15px
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
  • Loading branch information
meemofcourse authored and MysticalFaceLesS committed Mar 23, 2024
1 parent 4bfa3a5 commit 5e2b149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tgui/packages/tgui/interfaces/PaperSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ export class PreviewView extends Component<PreviewViewProps> {
let input = document.createElement('input');
input.setAttribute('type', 'text');

input.style.fontSize = field.is_signature ? '30px' : `${fontSize}px`;
input.style.fontSize = field.is_signature ? '15px' : `${fontSize}px`;
input.style.fontFamily = fieldData.font || font;
input.style.fontStyle = field.is_signature ? 'italic' : 'normal';
input.style.fontWeight = 'bold';
Expand Down

0 comments on commit 5e2b149

Please sign in to comment.