Skip to content

Commit

Permalink
Updating read.me + correcting issue #39
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Desmaisons committed Nov 19, 2017
1 parent e6dbb00 commit ae3bdc4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Documentation/Content/Migrate_from_0_6_to_version_1_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

* `IHTMLBinding` has been renamed `IHtmlBinding`

* Updates on the ViewModel should now happen on the UI thread, since Neutronium is not redirecting them anymore.<br>
Practically, this means that you should ensure that any `INotifyPropertyChanged` events and ObservableCollection updates occurs on the UI threads:
you can use [WPF Dispatcher](https://msdn.microsoft.com/en-us/library/system.windows.threading.dispatcher(v=vs.110).aspx) `Invoke` or `BeginInvoke` methods.<br>
Neutronium ALWAYS will call ViewModel on the UI thread either when updating properties value or executing command.

### Vue scripts

* Using vue mixins
Expand Down
2 changes: 1 addition & 1 deletion Examples/Example.ChromiumFX.PackUri/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:wpf="clr-namespace:Neutronium.WPF;assembly=Neutronium.WPF"
x:Class="Example.ChromiumFX.PackUri.MainWindow"
Title="HTML5 vs WPF" Height="700" Width="1200">
Title="Pack Uri example" Height="700" Width="1200">
<Window.Resources>
<wpf:BoolToHiddenConverter x:Key="BoolToVis"/>
</Window.Resources>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ private void ChromiumWebBrowser_OnBeforeCommandLineProcessing(CfxOnBeforeCommand

private void ChromiumWebBrowser_OnBeforeCfxInitialize(OnBeforeCfxInitializeEventArgs e)
{
CfxRuntime.EnableHighDpiSupport();

var settings = e.Settings;

_SettingsBuilder?.Invoke(settings);
Expand Down

0 comments on commit ae3bdc4

Please sign in to comment.