Skip to content

set_scale and set_sentence possibly applied to wrong tags #133

@lexxkoto

Description

@lexxkoto

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions