Backwards negative in local variables

Use this template to make awesome bug reports:

**Your username:**bobinny

**What kind of device are you using?:**iPhone 12,8 - ios 15.6 hopscotch version 3.50.4(Also include iOS version, and Hopscotch version)

1 sentence description of the problem (I was doing _________, and then __________ happened):I was coding using numbers and then the negative was backwards.

Steps that the Hopscotch team can take to reproduce my problem every time:
1.Make a clone or have at least 2 objects in your code
2. Add a local variable set to default
3. Add a code that relies on that variable
4. Edit the variable
5. Copy it and paste into another rule

I expected this to happen: regular negative

But instead this happened: backwards negative

Here’s a sweet screenshot:

You can refresh hopscotch to fix it but it will come back

9 Likes

:joy::joy::joy: i absolutely love this bug XD

are you able to edit the number like normally? like increase by one, add 10, etc?

9 Likes

Yes, I can still edit it but the negative sign will be at the end instead

9 Likes

this has been happening to me too and it’s super annoying lol

6 Likes

I have a bug quite similar to this, except it only lets me put in colours (for some reason). Just delete the block and add it again it should work

4 Likes