Geopard icon indicating copy to clipboard operation
Geopard copied to clipboard

set_scale and set_sentence possibly applied to wrong tags

Open lexxkoto opened this issue 4 months ago • 0 comments

In src/widgets/pages/hypertext.rs, where tag_h1, tag_h2 and tag_h3 are defined, certain properties are called.

The following lines appear after tag_h1 is defined:

        tag_h1.set_scale(2.0);
        tag_h1.set_sentence(true);

The following lines appear after tag_h2 is defined:

        tag_h2.set_scale(1.5);
        tag_h1.set_sentence(true);

The following lines appear after tag_h3 is defined:

        tag_h2.set_scale(1.4);
        tag_h1.set_sentence(true);

Should those properties be called on tag_h1, tag_h2 and tag_h3 respectively?

lexxkoto avatar Oct 30 '25 03:10 lexxkoto