aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkStrokeProperties.ts
AgeCommit message (Collapse)Author
2021-10-26adding snapping code between ink strokes. added some componentView API ↵bobzel
functions to convert local (eg ink) points to/from screen space and for snapping
2021-10-26Merge branch 'master' into ink_v1bobzel
2021-10-26refactoring snapping slightlyLauren
2021-10-26when document is in lightbox view and a link is followed to its sidebar, we ↵bobzel
no longer reopen the document in its context. fixed selecting annotations on web/pdf. don't change document height when shown in a linkPreview. webBox fixes for pages with scripts. fixed range bounds when clicking on web text several fixes to web pages on server and client. client webbox allows clicks on divs with onclick instead of doing selection also hacky fix so that google search url doesn't keep expanding by removing 'q=' regions also added prevent/allow script menu item server grabs all html and hides id="google.." which are ads. also rewrites hrefs starting with http to route through corsProxy also removes target=_blank tags to prevent pages from opening outside of dash. also cleaned up routes and comments also when not logged in, references to anything in dash domain route to /home
2021-10-21changing rotationvkalev
2021-10-01added stroke highlighting when following links. turned off display of ↵bobzel
centerline stroke when stroke is just selected but control point editing is not active. fixed snapping ink to make closed curves.
2021-09-30fixed ink rotationbobzel
2021-09-30fixed jitter of position when moving ink points aroundbobzel
2021-09-30fixed creating/drawing straight horizontal/vertical lines. fixed showing ↵bobzel
proper context menu for ink.
2021-09-29made IsClosed a static function. fixed warnings and errors.bobzel
2021-09-29fixed breaking smoothness of closed curve at 0/last index. fixed ↵bobzel
highlighting closed curves.
2021-09-29added snapping to close curve or to self-snap a vertex to its curve. fixed ↵bobzel
ink decorations from being clipped when zoomed. fixed crash with zero-length tangent
2021-09-29a number of undo/redo fixes for ink (snapping to tangent, add points, ↵bobzel
dragging tangents). also tried to make storage of undo events more efficient when dragging ink controls (avoid saving hundreds of copies of the InkField)
2021-09-28cleaned up inkstrokeproperties code a bit.bobzel
2021-09-28prevent crashes when ink points are not multiple of 4. deleting ink ctrl ↵bobzel
point that leaves one bezier segment no longer converts to a line.
2021-09-28a bunch of code cleanup for inkingstrokesbobzel
2021-09-28fixed adding point drag location. fixed broken indices on deleting.bobzel
2021-09-28fixed broken indices for ink curve splittingbobzel
2021-09-28removing previous addpoint codevkalev
2021-09-28updating broken indicesvkalev
2021-09-28added the splicebobzel
2021-09-28converted ink addpoints to not use sampling. needs addPoints() to be filled in.bobzel
2021-09-27fixed ink stroke editing to work with closed curves (eg break / restore ↵bobzel
tangent & drag start/end point). changed ink rendering to use svg bezier curves. fixed bugs with keydown handler to break tangent.
2021-09-10turned pen on/off and ink handles on/off whenever the other is activated.bobzel
2021-08-13cleaning upvkalev
2021-08-11added circle shape generation using only 4 Bézier curvesvkalev
2021-07-28snapping broken tangency addedvkalev
2021-07-27changing format of controls/handles + adding color enumsvkalev
2021-07-22additional commentsvkalev
2021-07-22adding broken indices to layoutDoc workingvkalev
2021-07-17added broken indices to layoutDocgeireann
:broken_heart:
2021-07-15adding new point creates tangent handle lines + snapping handle tangents not ↵vkalev
working
2021-07-10fixed adding point bug with breaking handle tangencyvkalev
2021-07-06added breaking of tangent handle lines by holding 'Alt' key when movingvkalev
2021-07-06refactoringvkalev
2021-07-01ink controls resize on hovervkalev
2021-06-30ink Bézier handle movement fixed + small visual changesvkalev
2021-06-21adding commentsvkalev
2021-05-11from lastbobzel
2021-05-11fixed ink rotation to maintain center pointbobzel
2021-05-10fixes to editing curve UI - handle sizes, no jumping when changing/deleting ↵bobzel
a boundary point. Rotation of curves is really broken -- needs to be redone.
2021-05-08fixed deleting ink stroke points.bobzel
2021-05-08fixed ink control point selection to not change scale of ink strokebobzel
2021-03-05started to clean up docdecorations and fix some ink rotation/sizing bugs.bobzel
2021-01-15fixed more issues with audio Box - simplified decorations when selected. ↵bobzel
fixed dragging when not selected. added esc to stop dragging.
2021-01-11from lastbobzel
2021-01-11cleanup of ink stroke changesbobzel
2021-01-11Merge branch 'master' into ink_editsbobzel
2020-12-16fixed treeView layouts to pass good values for panelWidth/height to ↵bobzel
DocumentView. renamed Selectionmanager methods to be views not documents.
2020-10-01fixed resize/rotateyunahi