Geopard
Geopard copied to clipboard
set_scale and set_sentence possibly applied to wrong tags
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?