mirror of
https://github.com/fadden/6502bench.git
synced 2025-04-12 02:37:18 +00:00
Collapse the "offset" line in the info window for non-DEBUG
This commit is contained in:
parent
4b46b78e34
commit
f61f1022e1
@ -740,7 +740,8 @@ limitations under the License.
|
||||
<TextBlock Grid.Row="0" TextWrapping="Wrap"
|
||||
Text="{Binding InfoLineDescrText, FallbackValue=Line #1234: N bytes of data}"/>
|
||||
<TextBlock Grid.Row="1" TextWrapping="Wrap" Foreground="DarkGray"
|
||||
Text="{Binding InfoOffsetText, FallbackValue=[offset: +123456]}"/>
|
||||
Text="{Binding InfoOffsetText, FallbackValue=[offset: +123456]}"
|
||||
Visibility="{Binding InfoShowDebug, Converter={StaticResource BoolToVis}}"/>
|
||||
|
||||
<StackPanel Grid.Row="2"
|
||||
Visibility="{Binding InfoFormatShowDashes, Converter={StaticResource BoolToVis}}">
|
||||
|
@ -1768,6 +1768,16 @@ namespace SourceGen.WpfGui {
|
||||
}
|
||||
private string mInfoPanelDetail1;
|
||||
|
||||
public bool InfoShowDebug {
|
||||
get {
|
||||
#if DEBUG
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
//public string InfoPanelMonoContents {
|
||||
// get { return mInfoPanelMonoContents; }
|
||||
// set { mInfoPanelMonoContents = value; OnPropertyChanged(); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user