[59] fix text overlays

pull/935/head
meisnate12 2 years ago
parent b557fb17ab
commit e44e3f1dd8

@ -38,7 +38,7 @@ jobs:
with: with:
context: ./ context: ./
file: ./Dockerfile file: ./Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/plex-meta-manager:develop tags: ${{ secrets.DOCKER_HUB_USERNAME }}/plex-meta-manager:develop

@ -34,7 +34,7 @@ jobs:
with: with:
context: ./ context: ./
file: ./Dockerfile file: ./Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/plex-meta-manager:latest tags: ${{ secrets.DOCKER_HUB_USERNAME }}/plex-meta-manager:latest

@ -40,7 +40,7 @@ jobs:
with: with:
context: ./ context: ./
file: ./Dockerfile file: ./Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/plex-meta-manager:${{ steps.get_version.outputs.VERSION }} tags: ${{ secrets.DOCKER_HUB_USERNAME }}/plex-meta-manager:${{ steps.get_version.outputs.VERSION }}

@ -1 +1 @@
1.17.0-develop58 1.17.0-develop59

@ -1146,7 +1146,7 @@ class Overlay:
main_y = start_y + back_height - (text_height if text is not None else image_height) main_y = start_y + back_height - (text_height if text is not None else image_height)
else: else:
main_x = start_x + (back_width - box_width) // 2 main_x = start_x + (back_width - box_width) // 2
main_y = start_y + (back_height - box_width) // 2 main_y = start_y + (back_height - box_height) // 2
addon_x = None addon_x = None
addon_y = None addon_y = None

Loading…
Cancel
Save