Skip to content

Commit

Permalink
Change editing --> edit mode & pixels --> paint mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tddough98 committed Nov 30, 2020
1 parent 1fa82b1 commit c9563f0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions browser/static/js/main_track.js
Expand Up @@ -562,7 +562,7 @@ function render_highlight_info() {

function render_edit_info() {
if (edit_mode) {
$('#edit_mode').html('pixels');
$('#edit_mode').html('paint mode');
$('#edit_brush_row').css('visibility', 'visible');
$('#brush_label_row').css('visibility', 'visible');
$('#edit_erase_row').css('visibility', 'visible');
Expand All @@ -577,7 +577,7 @@ function render_edit_info() {
}

} else {
$('#edit_mode').html('whole labels');
$('#edit_mode').html('whole-label mode');
$('#edit_brush_row').css('visibility', 'hidden');
$('#brush_label_row').css('visibility', 'hidden');
$('#edit_erase_row').css('visibility', 'hidden');
Expand Down
2 changes: 1 addition & 1 deletion browser/static/js/main_zstack.js
Expand Up @@ -717,7 +717,7 @@ function render_highlight_info() {
}

function render_edit_info() {
const editModeText = (edit_mode) ? 'pixels' : 'whole labels';
const editModeText = (edit_mode) ? 'paint mode' : 'whole-label mode';
document.getElementById('edit_mode').innerHTML = editModeText;

const rowVisibility = (edit_mode) ? 'visible' : 'hidden';
Expand Down
2 changes: 1 addition & 1 deletion browser/templates/partials/track_table.html
Expand Up @@ -12,7 +12,7 @@
<td id="currently_highlighted"></td>
</tr>
<tr>
<td>editing: </td>
<td>edit mode: </td>
<td id="edit_mode"></td>
</tr>
<tr id="edit_brush_row">
Expand Down
2 changes: 1 addition & 1 deletion browser/templates/partials/zstack_table.html
Expand Up @@ -7,7 +7,7 @@
<tr><td>viewing (y): </td><td id="displayedY"></td></tr>
<tr><td>highlight cells: </td><td id="highlight"></td></tr>
<tr><td>highlighted cells: </td><td id="currently_highlighted"></td></tr>
<tr><td>editing: </td><td id="edit_mode"></td></tr>
<tr><td>edit mode: </td><td id="edit_mode"></td></tr>
<tr id='edit_brush_row'>
<td>brush size: </td><td id="edit_brush"></td>
</tr>
Expand Down

0 comments on commit c9563f0

Please sign in to comment.