only use individual letterDelays
This commit is contained in:
parent
e66e5ae502
commit
73d17b2a03
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ void GPUFontLayer::setProps(const Props & props){
|
||||||
|| lastProps.letterSpacing != props.letterSpacing
|
|| lastProps.letterSpacing != props.letterSpacing
|
||||||
|| lastProps.color != props.color)){
|
|| lastProps.color != props.color)){
|
||||||
for(int i = 0; i < props.text.size(); i++){
|
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];
|
ofxGPUFont::GlyphAppearance & glyphAppearance = variationTextAppearance[i];
|
||||||
glyphAppearance.fontSize_px = vProps.fontSize_px;
|
glyphAppearance.fontSize_px = vProps.fontSize_px;
|
||||||
glyphAppearance.letterSpacing = vProps.letterSpacing;
|
glyphAppearance.letterSpacing = vProps.letterSpacing;
|
||||||
|
|
Loading…
Reference in a new issue