From 73d17b2a039b9543dbd3e821ad4a32bb9e876a59 Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Fri, 9 Jun 2023 17:52:05 +0200 Subject: [PATCH] only use individual letterDelays --- src/GPUFontLayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GPUFontLayer.cpp b/src/GPUFontLayer.cpp index b0a993c..9c876d7 100644 --- a/src/GPUFontLayer.cpp +++ b/src/GPUFontLayer.cpp @@ -114,7 +114,7 @@ void GPUFontLayer::setProps(const Props & props){ || lastProps.letterSpacing != props.letterSpacing || lastProps.color != props.color)){ for(int i = 0; i < props.text.size(); i++){ - const Props & vProps = propsBufferEmpty ? props : getProps(i * props.letterDelay); + const Props & vProps = propsBufferEmpty ? props : getProps(i); ofxGPUFont::GlyphAppearance & glyphAppearance = variationTextAppearance[i]; glyphAppearance.fontSize_px = vProps.fontSize_px; glyphAppearance.letterSpacing = vProps.letterSpacing;