Skip to content

Commit

Permalink
fix line breaks in team names.
Browse files Browse the repository at this point in the history
  • Loading branch information
KonoTyran committed Oct 13, 2023
1 parent 4785261 commit 12235da
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.alttprleague</groupId>
<artifactId>restreamtool</artifactId>
<version>3.3</version>
<version>3.4</version>

<build>
<plugins>
Expand Down Expand Up @@ -75,7 +75,7 @@
<resources>
<resource>
<directory>${basedir}/target/</directory>
<include>restreamtool-${version}.jar</include>
<include>restreamtool-${project.version}.jar</include>
<filtering>false</filtering>
</resource>
</resources>
Expand Down Expand Up @@ -111,6 +111,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<executions>
<execution>
<id>compile</id>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/alttprleague/LeagueRestreamTool.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public class LeagueRestreamTool {

public static void main(String[] args) throws IOException {
var restreamTool = new LeagueRestreamTool();
window = new JFrame("League Restream Tool V3.3");
window = new JFrame("League Restream Tool V3.4");
URL iconURL = LeagueRestreamTool.class.getResource("/LeagueLogo.png");
window.setIconImage(ImageIO.read(iconURL));
window.setContentPane(restreamTool.pMain);
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/html/FourPlayer.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
color: white;
font-family: "Roboto", sans-serif;
font-weight: 700;
font-size: 2.5rem;
font-size: .5rem;
}

iframe {
Expand Down Expand Up @@ -288,7 +288,7 @@
src="https://images.alttprleague.com/static/league/img/player-default.png"
alt="logo"
/>
<div class="team_name resize_center" id="t1_name" data-path="players.team1.player1.name">Team 1</div>
<div class="team_name resize_center" id="t1_name">Team 1</div>
<div class="player_name resize_center" id="p1_name">Player 1</div>
<div class="player_name resize_center" id="p3_name">Player 3</div>
<div class="left_wins hidden" data-wins="0" id="t1_wins">
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/html/TwoPlayer.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=1920, initial-scale=1.0" />
<title>TwoPlayer</title>
<!-- <script src="https://images.alttprleague.com/RestreamTool/js/textFit.js"></script>-->
<script src="https://images.alttprleague.com/RestreamTool/js/textFit.js"></script>
<script src="https://images.alttprleague.com/RestreamTool/js/common.js" defer></script>
<style>
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap");
Expand All @@ -24,7 +24,7 @@
color: white;
font-family: "Roboto", sans-serif;
font-weight: 700;
font-size: 2rem;
font-size: .5rem;
}

iframe {
Expand Down Expand Up @@ -158,7 +158,7 @@
width: 436px;
overflow: hidden;
text-align: center;
font-size: 3rem;
/*font-size: 3rem;*/
}

#t1_name {
Expand Down

0 comments on commit 12235da

Please sign in to comment.