G.Ambatte
d534eddb29
Remove unnecessary useEffect import
2024-10-11 13:14:53 +13:00
G.Ambatte
9099db5ea1
Remove obsolete state and event handlers
2024-10-11 11:56:29 +13:00
G.Ambatte
a9a8b4b9bb
Shift static height style to LESS file
2024-10-11 11:55:51 +13:00
G.Ambatte
5d29d40c97
Implement suggested change
2024-10-11 11:42:03 +13:00
G.Ambatte
4291284252
Merge branch 'master' into experimentalDeploymentIdentification
2024-10-11 11:10:28 +13:00
G.Ambatte
570c850c4f
Merge branch 'master' into fixToolbarZoomInPrint-#3744
2024-09-28 09:05:22 +12:00
G.Ambatte
17dfacd5c9
Add zoom property to BrewRenderer print styling
2024-09-28 09:03:00 +12:00
Trevor Buckner
ae123a8310
Change the other page number values as well
2024-09-27 11:35:01 -04:00
G.Ambatte
1f047890ab
Change default value of currentEditorCursorPageNum
2024-09-27 23:32:19 +12:00
Trevor Buckner
63675a46e0
Lint more things
2024-09-16 01:42:21 -04:00
Trevor Buckner
5cc5eec619
Lint toolbar and snippetbar
2024-09-16 01:41:46 -04:00
Trevor Buckner
c07c02f1d9
Remove unused variable
2024-09-15 21:44:02 -04:00
Trevor Buckner
85401ba71b
Fix BrewRenderer scrolling to 0
2024-09-15 21:26:49 -04:00
Trevor Buckner
d4fa5d55d0
Merge branch 'master' into pr/3484
2024-09-14 19:15:12 -04:00
Trevor Buckner
76c9f2ee71
Lint
2024-09-14 18:58:23 -04:00
Trevor Buckner
fa2874b18f
Let brewRenderer pass changes up, and inherit values down
2024-09-14 18:50:38 -04:00
Trevor Buckner
3ef91cb1ea
Add check for scroll event complete/ lift page state up
2024-09-12 12:55:11 -04:00
Trevor Buckner
707b90e445
Merge branch 'master' into pr/3484
2024-09-09 23:22:00 -04:00
Trevor Buckner
2b458d1265
Merge branch 'master' into Hide-Toolbar-2
2024-09-09 11:01:39 -04:00
Trevor Buckner
58a2993fe1
use className for react classes
...
Avoid warning of conflict with JS "class" keyword.
2024-09-09 11:00:45 -04:00
David Bolack
7a37bf47c5
Bodge Render side mirroring back into place.
2024-09-07 21:33:51 -05:00
Trevor Buckner
b124e55b3d
Merge branch 'master' into Issue_241_Part_II
2024-09-06 23:51:14 -04:00
Trevor Buckner
ad8e004fa9
Update Dismisskey for popup
...
Need a new key so this new message will appear again for users who cleared the popup before
2024-09-04 17:16:11 -04:00
Víctor Losada Hernández
cd01014d79
notification
2024-09-04 22:48:39 +02:00
Gazook89
49e072f03f
Add button to toggle Preview tools
...
Toggles a state variable to either visible or hidden which is used to set a related class on the toolbar. The hiding is done with CSS, just reducing the width of the toolbar and the opacity of the tools.
2024-09-04 13:54:55 -05:00
G.Ambatte
cc7fe99760
Initial functionality pass
2024-08-29 21:26:24 +12:00
David Bolack
a4f30d687d
Merge branch 'master' into Issue_241_Part_II
2024-08-28 21:17:10 -05:00
Gazook89
a7ddeafd06
revert change
2024-08-27 11:59:29 -05:00
Trevor Buckner
0ce3ac9be2
Merge branch 'master' into Fix-Toolbar-Positioning
2024-08-27 11:27:36 -04:00
Gazook89
a7c4b78ec8
set position relative, remove padding
2024-08-27 09:03:24 -05:00
Gazook89
7bc0af9a8c
utilize Infinity and reduce()
2024-08-27 08:42:45 -05:00
Gazook89
e06611a90f
set all zoom buttons to use handleZoomButton
...
All zoom buttons run through same handler now.
They no longer take only the delta of the current zoom and desired zoom-- they take the actual desired zoom.
calculateZoom is now calculateChange, to help get the desired delta.
2024-08-26 16:16:13 -05:00
Gazook89
7b767368df
Change icons to mask-image
...
Removes icons as components, uses mask-image instead.
Sets a size on the .fac icons to 1em so by default they are 1em and retain their aspect ratio.
rename the icon files for consistency.
2024-08-26 15:51:35 -05:00
Trevor Buckner
d4d27aab6a
Merge branch 'master' into Fill-Pane-Buttons
2024-08-24 23:59:19 -04:00
Trevor Buckner
4b0b56dd35
Lint the jsx files
2024-08-24 23:55:17 -04:00
Trevor Buckner
bf6eae7b3c
Simplify some logic in Toolbar
2024-08-24 23:54:09 -04:00
Trevor Buckner
3377d6645d
Tidy up brewRenderer
2024-08-24 23:53:44 -04:00
Trevor Buckner
5069eadd0a
Manual tidying of .less files
2024-08-24 23:53:07 -04:00
Gazook89
35a0a12f16
Merge branch 'pr/3499' into Fill-Pane-Buttons
2024-08-24 22:02:56 -05:00
Gazook89
504bb78a8d
switching padding to margin
...
using `padding-top` was breaking the navbar dropdowns (they would lose focus).
2024-08-24 22:02:43 -05:00
Gazook89
94ae33d328
Merge branch 'pr/3499' into Fill-Pane-Buttons
2024-08-24 21:28:13 -05:00
Gazook89
690c683943
select text when clicking into page input
2024-08-24 09:08:19 -05:00
Gazook89
3acf90dfdb
Add handlePageChange() to control input
...
Reintroducing handlePageChange() method to handle the page input separately from the scroll function. It tests the regex pattern on the string, parses to integer, and sets pageNum state.
scrollToPage also now sets the pageNum state after performing the scroll so the input box matches the new current page.
2024-08-24 09:05:43 -05:00
David Bolack
e27e61aaca
Bind livescrolling when done via scrollbars.
2024-08-24 00:47:06 -05:00
Gazook89
6bb5d04f07
round the calculated zoom level
2024-08-23 23:02:04 -05:00
Gazook89
b0b1f7fd0b
update method calls for zoom buttons
...
update method names in onClick events to match latest changes to the branch this builds from.
2024-08-23 22:58:43 -05:00
Gazook89
c25bf95a66
Merge branch 'pr/3499' into Fill-Pane-Buttons
2024-08-23 22:56:37 -05:00
Gazook89
a351013359
remove some odd if statement in onChange
2024-08-23 22:54:29 -05:00
Gazook89
1f86b4c3d0
add mainRef back in
...
This was previously in the .pageInfo widget, probably not for any good reason, but I'm moving it to the popups div for probably not a good reason.
It's used to get the parent .pane div, and pull its `height` value which is then passed to the `.brewRenderer` div to set the height.
I tried alternate methods that would make this obsolete (CSS methods mostly), but due to some complexity am just ditching those alternatives and popping this sucker into `.popups` for now.
2024-08-23 22:41:12 -05:00
Gazook89
627a6a732b
remove .ppr_msg styling
...
This message doesn't exist anymore (i'm pretty sure), so this is just unused styling. Unrleated to the PR, but just minor.
2024-08-23 19:26:41 -05:00