From f3f359ec6f27dae5f7d794241a67a1a0b69e4397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= Date: Fri, 21 Jun 2024 14:27:19 +0200 Subject: [PATCH] docs: Be more specific about the tilewidth/height attributes Now they specify that their values should be at least 1, except in the case of image collection tilesets. --- docs/reference/tmx-map-format.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/reference/tmx-map-format.rst b/docs/reference/tmx-map-format.rst index 504771fcd9..1df38f5e57 100644 --- a/docs/reference/tmx-map-format.rst +++ b/docs/reference/tmx-map-format.rst @@ -149,11 +149,12 @@ Can contain at most one: :ref:`tmx-chunksize`, :ref:`tmx-export` map specific.) - **name:** The name of this tileset. - **class:** The class of this tileset (since 1.9, defaults to ""). -- **tilewidth:** The (maximum) width of the tiles in this tileset. Irrelevant - for image collection tilesets, but stores the maximum tile width. -- **tileheight:** The (maximum) height of the tiles in this tileset. - Irrelevant for image collection tilesets, but stores the maximum tile - height. +- **tilewidth:** The width of the tiles in this tileset, which should be at + least 1 except in the case of image collection tilesets (in which case it + stores the maximum tile width). +- **tileheight:** The height of the tiles in this tileset, which should be at + least 1 except in the case of image collection tilesets (in which case it + stores the maximum tile height). - **spacing:** The spacing in pixels between the tiles in this tileset (applies to the tileset image, defaults to 0). Irrelevant for image collection tilesets.