profezzorn / ProffieOS-StyleEditor

GNU General Public License v3.0
7 stars 5 forks source link

SwingSpeed comment is weird #65

Closed NoSloppy closed 1 year ago

NoSloppy commented 1 year ago

Tough to put into words, but it changes depending on which level is selected on the right hand structured view. Unselected or selecting the outer bracket, the value and the comment get lumped into one. Focusing inward, it renders correctly. See images.

I can't seem to recreate it anywhere else, (I haven't tried EVERYwhere), but I know that loading up the Layers Example>ResponsiveLockupL>Lockup Size>Scale is where I'm noticing it. Screen Shot 2023-03-28 at 12 42 41 AM Screen Shot 2023-03-28 at 12 42 52 AM

Here's the console when it's lumped together:

<div id=​"X68802296" style=​"border-style:​solid;​border-width:​1px;​border-color:​gray;​" onclick=​FocusOn(68802296,event)​">​…​</div>​
  <span title=​"Swing Speed">​SwingSpeed​</span>​
  "<"
  <div style=​"margin-left:​1em">​ 100 /* What swing speed returns 32768. */ ​</div>​
  ">"
</div>

And this is when it looks correct:

<div id=​"X113028961" style=​"border-style:​solid;​border-width:​1px;​border-color:​gray;​" onclick=​"FocusOn(113028961,event)​">​
  <span title=​"Swing Speed">​SwingSpeed​</span>​
  "<"
  <div style=​"margin-left:​1em">​
    " /* What swing speed returns 32768. */"
  <br>​
  <div id=​"X113028960" style=​"border-style:​solid;​border-width:​1px;​border-color:​gray;​" onclick=FocusOn(113028960,event)​">​
    <span title="VALUE">​100​</span>​
  </div>
</div>
">"
NoSloppy commented 1 year ago

It has to be something with the default because manually making it the same SwingSpeed<100> makes it correct.