question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add calculation support to size input

See original GitHub issue

macOS version: 10.15.3 Kap version: 3.0.1

Steps to reproduce

  1. Record video
  2. In the size input fields I’ve tried to do math but it’s not working. Example: width: 1000, height: 600. If I want to make this 500x300, I have to manually type that but in other apps you can often type 1000/2 and it’ll resize automatically.

Current behaviour

The size input can not take math commands, such as /, *, +, -.

Expected behaviour

I’d like to make simple calculations such as: 1000*0.5 = 500 1000/4 = 250 300+50 = 350 500-100 = 400 etc.

Workaround

Manually type in the value I want, which isn’t too bad but I think this will be a nice improvement

I just started using the app and it’s great so far! I just wanted to add that this small improvement would be appreciated 🙏. If you need any additional information, let me know!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
karaggeorgecommented, Jan 30, 2020

@jkeussen that is a good idea. Coming soon: #789 😄

1reaction
karaggeorgecommented, Feb 14, 2020

@jsejcksn

For those inputs it is also triggered on a timer (debounced). Also I’m not sure those support calculations. I think the calculations were only added to the Editor ones. If desired and of-value we can add them there as well

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adjust width of input field to its input - Stack Overflow
To calculate the width of the current input, you'll have to embed it in a temporary span element, attach that thing to the...
Read more >
Formula Tool | Alteryx Help
Use Formula to create new columns, update columns, and use 1 or more expressions to perform a variety of calculations and operations.
Read more >
Use calculated columns in an Excel table - Microsoft Support
Calculated columns in Excel tables are a fantastic tool for entering formulas efficiently. They allow you to enter a single formula in one...
Read more >
calc() - CSS: Cascading Style Sheets - MDN Web Docs
The calc() CSS function lets you perform calculations when specifying CSS property values. It can be used with , , , , ,...
Read more >
Add formulas & functions - Computer - Google Docs Editors Help
Open a spreadsheet. Type an equal sign (=) in a cell and type in the function you want to use. Note: You may...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found