Skip to content

Commit b02ac23

Browse files
committed
changed readme
1 parent 2fb1989 commit b02ac23

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

PretextView.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5975,7 +5975,7 @@ Render() {
59755975
(char *)"Middle Click / Spacebar: pickup whole sequence or (hold Shift): scaffold",
59765976
(char *)"Middle Click / Spacebar (while editing): invert sequence",
59775977
(char *)"P: copy highlight to clipboard",
5978-
(char *)"V: break at selection start, Shift+V: break at end"
5978+
(char *)"V: break at selection start"
59795979
};
59805980

59815981
textBoxHeight = (f32)helpTexts.size() * (lh + 1.0f) - 1.0f;
@@ -9876,10 +9876,9 @@ KeyBoard(GLFWwindow* window, s32 key, s32 scancode, s32 action, s32 mods)
98769876
case GLFW_KEY_V:
98779877
if (Edit_Mode && action != GLFW_RELEASE)
98789878
{
9879-
// One breakpoint per keypress: V = at start of selection (min pixel), Shift+V = at end (max). yy5
9879+
// One breakpoint per keypress: V at start of selection (min pixel).
98809880
u32 start = my_Min(Edit_Pixels.pixels.x, Edit_Pixels.pixels.y);
9881-
u32 end = my_Max(Edit_Pixels.pixels.x, Edit_Pixels.pixels.y);
9882-
u32 loc = (mods & GLFW_MOD_SHIFT) ? end : start;
9881+
u32 loc = start;
98839882
if (BreakMap((int)loc, 1))
98849883
{
98859884
AddBreakEdit(loc);

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ PretextView is a desktop application for viewing pretext contact maps.<br/>
3939
## Edit mode (`E`)
4040
- `left mouse button`: Click and drag with the left mouse button to select an are to zoom to.
4141
- Pickup a region of a contig with the left mouse button, pickup a whole contig with the middle mouse button or spacebar. Place a region with the left mouse button. Invert a selected region with the middle mouse button or spacebar. Undo the last edit with the 'q' key. Exit edit mode with the 'e' key. Use the GUI to see a list of completed edits.
42-
- `P`: copy the **highlighted** map range to the system clipboard. The text lists each map fragment in the selection with the contig name and a **local** span in megabases along that fragment (not a single genome-wide coordinate). If nothing is actively selected, the current edit cursor range is used.
42+
- `P`: copy the **highlighted** map range to the system clipboard. The text lists each map fragment in the selection with the contig name and a **local** span in megabases along that fragment (not a single genome-wide coordinate).
4343
- `V`: break (split) the contig at the start of the current selection.
44-
- `Shift` + `V`: break (split) the contig at the end of the current selection.
4544

4645
## Waypoint mode (`W`)
4746
- `left mouse button`: place a waypoint.

0 commit comments

Comments
 (0)