From 33f63710ac6390e5055db1fd6082d77103d73826 Mon Sep 17 00:00:00 2001 From: Nyan11 Date: Fri, 15 Dec 2023 18:54:02 +0100 Subject: [PATCH] do not display Z index if z = 0 --- src/Pyramid-Bloc/PyramidTreePlugin.class.st | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Pyramid-Bloc/PyramidTreePlugin.class.st b/src/Pyramid-Bloc/PyramidTreePlugin.class.st index c629c88a..720331c0 100644 --- a/src/Pyramid-Bloc/PyramidTreePlugin.class.st +++ b/src/Pyramid-Bloc/PyramidTreePlugin.class.st @@ -78,7 +78,9 @@ PyramidTreePlugin class >> columnZIndex: aPyramidTreePlugin [ ^ SpStringTableColumn new title: 'z'; evaluated: [ :aBlElement | - aBlElement elevation elevation printString ]; + aBlElement elevation elevation = 0 + ifTrue: [ '' ] + ifFalse: [ aBlElement elevation elevation printString ] ]; width: 16; yourself ]