Commit Graph

33 Commits

Author SHA1 Message Date
Ksaper c44dc018c7 Improve dragging handling 2023-04-03 22:46:45 +03:00
Ksaper d8897a2616 Fix cursor position after overwriting text 2023-04-03 21:49:00 +03:00
Ksaper 0452b69a4d Fix text obscure 2023-04-03 17:12:11 +03:00
Ksaper e80db42445 Forgot to commit this 2023-04-03 17:11:47 +03:00
Ksaper ee5438c0f2 Fix cursor reblinking when already in insert mode and pressing the text input again 2023-03-19 08:35:01 +02:00
Ksaper 69dd122d58 Increase click timeout 2023-03-19 04:00:40 +02:00
Ksaper 86f5382bfd Only set the mode to overwrite if there was actual text being selected 2023-03-19 03:45:27 +02:00
Ksaper 36cd1581cb This wasn't working if the mouse left the text input before releasing LMB 2023-03-18 03:27:16 +02:00
Ksaper 7d4afecb3c Change default click timeout to 0.1 2023-03-18 03:26:31 +02:00
Ksaper cbc6f46cce Can't select text if empty 2023-03-18 03:26:23 +02:00
Ksaper 053cb47b74 Improve text selection handling when cursor it outside text extents 2023-03-17 11:28:00 +02:00
Ksaper ff8af15218 Fix #92df6d97958df14ca82b47e2de6df086be218969 2023-03-16 04:56:30 +02:00
Ksaper 070150e902 Fix cursor blinking too fast sometimes 2023-03-16 04:56:12 +02:00
Ksaper 0c6a1ca4f5 Better handling for when clicked position it outsidd the bounds 2023-03-16 04:47:16 +02:00
Ksaper 92df6d9795 Fix getting the same value twice 2023-03-16 04:47:02 +02:00
Ksaper 566a5a9bd9 Add context to the unfocus signal 2023-03-16 04:37:55 +02:00
Ksaper 6c76dc9b17 Fix varius input handling issues with the text input widget 2023-03-16 02:04:06 +02:00
Ksaper a1c93c87a7 Fix not being able to do shift + key 2023-03-15 15:01:39 +02:00
Ksaper 1cec46b2bb Elseif it 2023-03-15 15:01:34 +02:00
Ksaper 31934c1576 Implement double click to select current word + triple click to select all text 2023-03-13 02:28:22 +02:00
Ksaper ef7cba1b4d Fix checking for the wrong value 2023-03-13 02:02:52 +02:00
Ksaper 996fc7cf79 Should check if true 2023-03-13 01:56:46 +02:00
Ksaper 89a1a1f1ec These defaults makes more sense for the app launcher, but less if used in other widgets 2023-03-13 00:58:19 +02:00
Ksaper 4ba108df92 Fix typo 2023-03-12 12:12:31 +02:00
Ksaper 0239710fdf Don't emit the signal here, this is called by the user 2023-03-12 10:29:11 +02:00
Ksaper 26a03aa23b Fix focusing the text input when releasing any mouse button 2023-03-11 04:40:22 +02:00
Ksaper 301d23e4cf Fix text_color not customizable 2023-03-11 00:47:04 +02:00
Ksaper 60089224d7 pass in the text for the unfocus signal 2023-03-11 00:13:31 +02:00
Ksaper e1c556e1cb Add unfocus on client focus prop 2023-03-10 05:51:15 +02:00
Ksaper a99eb3ffe0 Adjust some code + fix initial value not working 2023-03-10 05:38:32 +02:00
Ksaper 881895e200 Text filtering the right way 2023-03-10 05:27:00 +02:00
Ksaper f028caee47 Fix some text input issues 2023-03-10 04:53:17 +02:00
Ksaper 4cdc4fb5f9 Replace the prompt with a proper text input widget 2023-03-07 13:13:22 +02:00