File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,9 +114,9 @@ export class Line {
114114 this . _data . integrateSpeedEasings ?? this . _scene . chart . META . RPEVersion >= 170 ;
115115 this . _line . setScale (
116116 this . _scene . p ( 1 ) * ( this . _scaleX ?? 1 ) ,
117- ( this . _hasCustomTexture
118- ? this . _scene . p ( 1 )
119- : this . _scene . o ( 1.35 ) * this . _scene . preferences . lineThickness ) * ( this . _scaleY ?? 1 ) ,
117+ this . _hasCustomTexture
118+ ? this . _scene . p ( 1 ) * ( this . _scaleY ?? 1 )
119+ : this . _scene . o ( 1 ) * this . _scene . preferences . lineThickness * ( this . _scaleY ?? 1.35 ) ,
120120 ) ; // previously 1.0125 (according to the official definition that a line is 3 times as wide as the screen)
121121 this . _line . setDepth ( lineData . zIndex !== undefined ? lineData . zIndex : 2 + precedence ) ;
122122 this . _line . setVisible ( ! this . _hasAttach || ! ! lineData . appearanceOnAttach || this . _hasText ) ;
@@ -232,9 +232,9 @@ export class Line {
232232 updateParams ( ) {
233233 this . _line . setScale (
234234 this . _scene . p ( 1 ) * ( this . _scaleX ?? 1 ) ,
235- ( this . _hasCustomTexture
236- ? this . _scene . p ( 1 )
237- : this . _scene . o ( 1.35 ) * this . _scene . preferences . lineThickness ) * ( this . _scaleY ?? 1 ) ,
235+ this . _hasCustomTexture
236+ ? this . _scene . p ( 1 ) * ( this . _scaleY ?? 1 )
237+ : this . _scene . o ( 1 ) * this . _scene . preferences . lineThickness * ( this . _scaleY ?? 1.35 ) ,
238238 ) ;
239239 if ( this . _hasText ) ( this . _line as GameObjects . Text ) . setText ( this . _text ?? '' ) ;
240240 if ( this . _hasAnimatedTexture ) {
You can’t perform that action at this time.
0 commit comments